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

{
  "context": "Evaluates whether the solution uses workbox-webpack-plugin to build a service worker that precaches only the intended webpack assets. Scoring focuses on correctly configuring asset discovery filters, size limits, and URL handling through the plugin options that produce the manifest used in the spec. Code quality or unrelated tooling choices are ignored.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Plugin usage",
      "description": "createFilteredPrecachePlugin returns an instance of workbox-webpack-plugin's GenerateSW (or equivalent service worker plugin from the package) rather than manual manifest construction.",
      "max_score": 20
    },
    {
      "name": "Chunk allowlist",
      "description": "GenerateSW is configured with the options.chunks array set to the allowed chunk names (e.g., app and vendor), and any denied chunk names are excluded via options.chunks or an exclude pattern so admin outputs never reach the manifest.",
      "max_score": 20
    },
    {
      "name": "Extension filtering",
      "description": "Asset filters rely on workbox-webpack-plugin include/exclude options to drop .map files (and other non-js/css assets when needed) instead of ad hoc filtering logic.",
      "max_score": 15
    },
    {
      "name": "Size ceiling",
      "description": "The maximumFileSizeToCacheInBytes option is set from options.maxFileSizeBytes so assets exceeding the limit are automatically omitted by the plugin.",
      "max_score": 20
    },
    {
      "name": "Public path",
      "description": "Manifest URLs are normalized through the plugin's publicPath (or modifyURLPrefix) option to apply the provided base path without double slashes or missing separators.",
      "max_score": 15
    },
    {
      "name": "Revisioned entries",
      "description": "The precache manifest relies on plugin-generated revision data derived from hashed filenames rather than custom revision strings, ensuring hashed app/vendor assets appear with revisions.",
      "max_score": 10
    }
  ]
}

Version

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