# gajus/prepack-webpack-plugin

A webpack plugin for prepack.

Repository: https://github.com/gajus/prepack-webpack-plugin
Canonical: https://ross.abutalabs.com/products/prepack-webpack-plugin
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: webpack, prepack, plugin
Last push: 2018-10-07T19:14:38+00:00

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

## Adoption (not part of the score)
Stars 1023, forks 31 (observed 2026-08-28T04:03:16.294609+00:00)

## What it is
A webpack plugin that integrates Facebook's Prepack JavaScript precompiler into the webpack build pipeline. It runs Prepack on matched JavaScript bundles during webpack builds to optimize the output.

## Use cases
- integrate prepack into webpack builds
- optimize JavaScript bundles with prepack
- run prepack automatically during webpack compilation
- precompile constant-folded JavaScript in webpack 4 projects

## When to choose
- you are on webpack 4.x and want Prepack optimization in your build
- you want automatic prepacking of bundled JS output

## When to avoid
- you use webpack 5 or newer
- you need a maintained tool (last release 2018, Prepack itself is discontinued)
- you do not use webpack

## Facets
- artifact type: plugin
- maturity: abandoned
- function: build-tool, compiler, developer-tools
- domain: developer-tools, web-development, frontend
- platform: -
- tags: webpack-plugin, prepack, javascript-bundling, build-optimization, nodejs, javascript

## Member repositories
- gajus/prepack-webpack-plugin (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.294609+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-30T07:08:37.902180+00:00, confidence not recorded.
  - readme: https://github.com/gajus/prepack-webpack-plugin (fetched 2026-08-28T04:03:16.294609+00:00, sha 8d198df3df4b)
  - registry_npm: https://registry.npmjs.org/prepack-webpack-plugin (fetched 2026-08-29T13:08:43.002742+00:00, sha 4570785bf978)
- Data as of 2026-08-30T08:39:29.467469+00:00.
