# rails/webpacker

Use Webpack to manage app-like JavaScript modules in Rails

Repository: https://github.com/rails/webpacker
Canonical: https://ross.abutalabs.com/products/webpacker
Language: Ruby
License: MIT
License Family: permissive
Topics: rails, javascript, yarn, webpack, frontend, hacktoberfest
Last push: 2024-07-16T12:30:22+00:00

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

## Adoption (not part of the score)
Stars 5271, forks 1444 (observed 2026-08-28T04:09:14.013025+00:00)

## What it is
Webpacker is a Ruby gem that integrates Webpack with Ruby on Rails applications to manage app-like JavaScript modules. It has been officially retired since Rails 7, with users directed to jsbundling-rails, importmap-rails, or the community-maintained Shakapacker fork.

## Use cases
- bundle JavaScript modules in a Rails app with Webpack
- manage app-like JavaScript assets in Rails
- integrate Webpack and Yarn into a Rails project
- migrate a legacy Rails app off Webpacker
- find the maintained successor to Webpacker

## When to choose
- maintaining an older Rails 5/6 application already built on Webpacker
- you need a stable, documented bridge between Rails and Webpack for legacy code

## When to avoid
- starting a new Rails 7+ project (use jsbundling-rails or importmap-rails)
- you want ongoing updates or new JavaScript library versions
- you need hot-module reloading or active development (use Shakapacker)

## Facets
- artifact type: library
- maturity: abandoned
- function: build-tool, developer-tools
- domain: web-development, frontend, developer-tools
- platform: ruby
- tags: webpack, rails, javascript-bundling, retired, shakapacker-successor, nodejs

## Member repositories
- rails/webpacker (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:14.013025+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-29T17:59:27.947376+00:00, confidence not recorded.
  - readme: https://github.com/rails/webpacker (fetched 2026-08-28T04:09:14.013025+00:00, sha 9677bf06e8fb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
