A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.
Overall
score
80%
Ensure the service worker build setup handles output paths and build-time reporting reliably across webpack environments.
/app/dist and destination /tmp/custom-sw.js, the emitted service worker ends up under dist/custom-sw.js without writing to /tmp. @test@generates
export interface SwBuildOptions {
swSrc?: string;
swDest: string;
logLevel?: "summary" | "silent";
}
export function attachServiceWorkerBuild(
compiler: import("webpack").Compiler,
options: SwBuildOptions
): void;Integrates service worker generation into webpack builds, including manifest creation and build-time logging.
Install with Tessl CLI
npx tessl i tessl/npm-workbox-webpack-pluginevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10