CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-workbox-webpack-plugin

A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.

80

1.19x
Quality

Pending

Does it follow best practices?

Impact

80%

1.19x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-5/

{
  "context": "Evaluates whether the solution configures workbox-webpack-plugin's InjectManifest to build or copy the service worker correctly, using its child compilation features and respecting compilation-only plugins and warnings.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Child compile",
      "description": "When compilation is enabled, instantiates InjectManifest with compileSrc set to true so the swSrc is run through the plugin's child compiler (not just copied) and emitted to the requested swDest with a generated precache manifest.",
      "max_score": 30
    },
    {
      "name": "Plugins passthrough",
      "description": "Passes the provided compilation plugins into InjectManifest via webpackCompilationPlugins when compile is true, ensuring those plugins run inside the child compilation.",
      "max_score": 20
    },
    {
      "name": "Copy fallback",
      "description": "When compilation is disabled, configures InjectManifest with compileSrc false (or omitted) so swSrc is copied verbatim, avoids supplying webpackCompilationPlugins, and surfaces a warning about ignored compilation plugins.",
      "max_score": 25
    },
    {
      "name": "Parent context",
      "description": "Applies InjectManifest to the parent webpack compiler so the child compilation reuses the parent's filesystem/context for resolving aliases and loaders rather than creating an isolated build.",
      "max_score": 25
    }
  ]
}

tile.json