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

{
  "context": "Evaluates how well the solution configures workbox-webpack-plugin to reshape the precache manifest using its customization hooks. Focuses on manual entries, CDN-aware URL rewriting, filtering noisy assets, revision handling for hashed files, and ensuring the plugin wiring applies these rules.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Manual entries",
      "description": "Uses workbox-webpack-plugin additionalManifestEntries to inject the offline HTML with the provided revision and the remote font with a null/omitted revision so they are always precached.",
      "max_score": 25
    },
    {
      "name": "Base path rewrite",
      "description": "Prefixes non-absolute manifest URLs with the supplied basePath via modifyURLPrefix or a manifestTransforms step, avoiding duplicate slashes and leaving already absolute URLs untouched.",
      "max_score": 20
    },
    {
      "name": "Filtering warnings",
      "description": "Implements a manifestTransforms function that drops .map assets and /admin/ paths and appends warning messages enumerating each removed URL in order.",
      "max_score": 20
    },
    {
      "name": "Hashed revision handling",
      "description": "Uses manifestTransforms or dontCacheBustURLsMatching to clear revision values for fingerprinted filenames while keeping revisions for non-fingerprinted entries.",
      "max_score": 20
    },
    {
      "name": "Plugin wiring",
      "description": "Returns a GenerateSW or InjectManifest plugin instance with manifestTransforms and additionalManifestEntries configured so the bundler actually applies these manifest rules.",
      "max_score": 15
    }
  ]
}

Version

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