A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.
Overall
score
80%
{
"context": "Evaluates whether the solution uses workbox-webpack-plugin to integrate a service worker build that keeps swDest aligned with webpack output and logs precache manifest details across webpack versions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Plugin choice",
"description": "Uses workbox-webpack-plugin classes directly (GenerateSW for default builds, InjectManifest when a custom swSrc is provided) instead of hand-rolled asset writing.",
"max_score": 25
},
{
"name": "swDest handling",
"description": "Configures the plugin with swDest (including absolute inputs) so it resolves the final path relative to compiler.options.output.path rather than emitting outside the build directory.",
"max_score": 25
},
{
"name": "Hook integration",
"description": "Applies the plugin so it registers with webpack v5 hooks (compiler.hooks.thisCompilation + compilation.hooks.processAssets) and falls back cleanly to compiler.hooks.emit on v4 without warnings.",
"max_score": 25
},
{
"name": "Manifest logging",
"description": "Surfaces the plugin's manifest results (count and size) via its logger, producing a summary that names the swDest file and reports total entries and bytes cached.",
"max_score": 25
}
]
}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