swDest (InjectManifest only)
First added
Workbox
About
The path and filename of the service worker file that will be created by the build process, relative to the current working directory. It must end in â.jsâ.
Usage
await injectManifest({
swSrc: "app/sw.ts",
swDest: "dist/sw.js",
globDirectory: "dist/static",
});