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-7/

{
  "context": "Evaluates whether the solution configures workbox-webpack-plugin to guard against self-precaching when service workers are generated repeatedly, especially in webpack watch mode. Checks center on using GenerateSW or InjectManifest options that track prior outputs, exclude plugin-emitted assets from manifests, and surface the package's repeated-run warnings.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Workbox plugin",
      "description": "Solution instantiates workbox-webpack-plugin's GenerateSW or InjectManifest and wires it into the webpack config instead of reimplementing service worker generation manually.",
      "max_score": 25
    },
    {
      "name": "Self-asset exclude",
      "description": "Uses the plugin's manifest filtering (e.g., the `exclude`/`excludeChunks` options) to drop the generated `swDest`, precache manifest, and Workbox runtime assets from the precache list.",
      "max_score": 30
    },
    {
      "name": "Repeated-run warning",
      "description": "Leverages the package's built-in warning path (the GenerateSW/InjectManifest `alreadyCalled` warning via workbox-build's logHelper) so a duplicate invocation emits a single warning about stale precache data.",
      "max_score": 20
    },
    {
      "name": "Prior asset tracking",
      "description": "Preserves the plugin instance across watch rebuilds so its internal `generatedAssetNames`/`additionalManifestEntries` filtering prevents previously emitted Workbox assets from reappearing in the new precache manifest.",
      "max_score": 25
    }
  ]
}

Version

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