Skip to main content

globDirectory

First added

Workbox

About

The local directory you wish to match globPatterns against. The path is relative to the current directory.

Usage

await injectManifest({
  swSrc: "app/sw.ts",
  swDest: "dist/sw.js",
  globDirectory: "dist/static",
});