injectionPoint (InjectManifest only)
First added
Workbox
About
The string to find inside of the swSrc
file. Once found, it will be replaced by the generated precache manifest.
Usage
await injectManifest({
swSrc: "app/sw.ts",
swDest: "dist/sw.js",
globDirectory: "dist/static",
injectionPoint: "__HI_MOM",
});