tessl install tessl/npm-workbox-webpack-plugin@7.3.0A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.19x
Baseline
Agent success rate without this tile
67%
A build helper that outputs a final service worker by merging a developer-authored source file with a generated precache manifest derived from bundler assets.
@generates
/**
* Builds a custom service worker with an injected precache manifest produced from bundler assets.
*/
export interface SwBuildOptions {
swSrc: string;
swDest?: string;
assetsDir: string;
publicPath?: string;
additionalEntries?: Array<{ url: string; revision?: string | null }>;
exclude?: Array<string | RegExp>;
chunkScripts?: string[];
}
export async function buildServiceWorker(options: SwBuildOptions): Promise<{
swPath: string;
manifest: Array<{ url: string; revision: string | null }>;
}>;Custom service worker injection during bundling and precache manifest generation. @satisfied-by