# GoogleChromeLabs/worker-plugin

👩‍🏭 Adds native Web Worker bundling support to Webpack.

Repository: https://github.com/GoogleChromeLabs/worker-plugin
Canonical: https://ross.abutalabs.com/products/worker-plugin
Homepage: https://npm.im/worker-plugin
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: webpack, workers, webworker, webpack-plugin, web-worker
Archived: true
Last push: 2021-05-27T18:48:43+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2906, "days_push": 1924, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1907, forks 74 (observed 2026-08-28T04:05:52.537801+00:00)

## What it is
A Webpack plugin from Google Chrome Labs that automatically bundles and compiles Web Worker modules referenced via `new Worker('./file.js', { type: 'module' })`. It makes module workers work in all browsers supporting Web Workers, down to IE 10.

## Use cases
- bundle web workers with webpack
- use module workers in older browsers
- compile worker files loaded via new Worker()
- offload computation to background threads in a webpack app
- avoid manual worker entry-point configuration

## When to choose
- you're on Webpack 4 and need worker bundling
- you want module workers to work in browsers without native module worker support
- you want zero-config worker bundling with a simple constructor syntax

## When to avoid
- you're using Webpack 5, which has built-in worker support via new Worker(new URL(...))
- your workers use dynamic, Blob, or data URLs
- the project needs active maintenance - last release was 2021

## Facets
- artifact type: plugin
- maturity: maintenance
- function: build-tool, developer-tools
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: webpack-plugin, web-workers, bundler, javascript, web-server, nodejs

## Member repositories
- GoogleChromeLabs/worker-plugin (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:52.537801+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:14.360839+00:00, confidence not recorded.
  - readme: https://github.com/GoogleChromeLabs/worker-plugin (fetched 2026-08-28T04:05:52.537801+00:00, sha ec363d226a09)
  - registry_npm: https://registry.npmjs.org/worker-plugin (fetched 2026-08-29T10:50:43.707158+00:00, sha be0319812283)
- Data as of 2026-08-30T08:39:29.467469+00:00.
