CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-workbox-webpack-plugin

tessl install tessl/npm-workbox-webpack-plugin@7.3.0

A 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%

rubric.jsonevals/scenario-4/

{
  "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
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/workbox-webpack-plugin@7.3.x
tile.json