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%
{
"context": "Evaluates how the service worker build uses workbox-webpack-plugin to inject the precache manifest while emitting sourcemaps. Focuses on InjectManifest configuration that keeps mappings accurate after placeholder replacement and across manifest updates.",
"type": "weighted_checklist",
"checklist": [
{
"name": "InjectManifest setup",
"description": "Build configuration relies on workbox-webpack-plugin InjectManifest (not manual string replacement) with explicit swSrc/swDest to produce the service worker bundle.",
"max_score": 25
},
{
"name": "Injection point",
"description": "InjectManifest is configured with injectionPoint (e.g., '__INJECT_PRECACHE__') so the plugin targets the placeholder described in the spec rather than defaulting incorrectly.",
"max_score": 20
},
{
"name": "Sourcemap output",
"description": "Webpack devtool and InjectManifest sourcemap option are enabled so the build writes sw.js.map alongside sw.js and wires sourceMappingURL appropriately.",
"max_score": 20
},
{
"name": "Map-aware replacement",
"description": "Manifest injection relies on InjectManifest's sourcemap-aware replacement (replaceAndUpdateSourceMap in the plugin pipeline) rather than a manual string replace that would drop or misalign mappings.",
"max_score": 20
},
{
"name": "Manifest changes",
"description": "Changes to manifestEntries (passed via additionalManifestEntries/manifestTransforms on InjectManifest) trigger regeneration of both sw.js and sw.js.map so mappings reflect the new manifest size instead of a cached map.",
"max_score": 15
}
]
}