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

{
  "context": "Evaluates whether the solution wires workbox-webpack-plugin's InjectManifest to build a custom service worker with an injected precache manifest, honoring filters, extra entries, chunk script imports, and bundler path handling.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "InjectManifest setup",
      "description": "Configures InjectManifest with swSrc and swDest to generate the final service worker and relies on the library's injection point (e.g., self.__WB_MANIFEST) rather than hand-built manifests.",
      "max_score": 35
    },
    {
      "name": "Additional entries",
      "description": "Uses additionalManifestEntries to append caller-provided URLs (offline HTML, static files, etc.) with appropriate revisions to the injected precache list.",
      "max_score": 15
    },
    {
      "name": "Exclude filters",
      "description": "Applies exclude or manifestTransforms options so sourcemaps and other ignored patterns are omitted from the precache manifest while keeping hashed build assets.",
      "max_score": 15
    },
    {
      "name": "Chunk imports",
      "description": "Leverages importScriptsViaChunks (and the implicit exclusion of those chunks from precaching) to load specified chunk scripts inside the service worker without precaching them.",
      "max_score": 15
    },
    {
      "name": "Compile source",
      "description": "Leaves compileSrc enabled and, if needed, attaches webpackCompilationPlugins so the service worker source is processed by the child compiler before manifest injection.",
      "max_score": 10
    },
    {
      "name": "Public URLs",
      "description": "Respects webpack output.publicPath and swDest resolution so manifest URLs and the emitted service worker path align with the distribution directory.",
      "max_score": 10
    }
  ]
}

Version

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