RepoPilot

rails/webpacker

Use Webpack to manage app-like JavaScript modules in Rails

Mixed

Stale — last commit 2y ago

MixedDependency

last commit was 2y ago; dependency CVE scan unavailable

HealthyFork & modify

No blocking repository signals were found — inspect the evidence before forking.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

MixedDeploy as-is

last commit was 2y ago; dependency CVE scan unavailable

  • Stale — last commit 2y ago
  • 21+ active contributors
  • Distributed ownership (top contributor 22% of recent commits)
  • MIT licensed
  • CI configured
  • Tests present

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.

Repository brief

Repo brief: rails/webpacker

Generated by RepoPilot · document generated 2026-09-17 · concise human review Evidence snapshot · analyzed 2026-09-17T04:04:29.523Z · commit a715e055d937

Verdict

Mixed — Stale — last commit 2y ago

  • 21+ active contributors
  • Distributed ownership (top contributor 22% of recent commits)
  • MIT licensed
  • CI configured
  • 1 more receipt on the live page

Based on Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

What it is

Webpacker is a retired Rails gem (v5 branch still maintained) that wraps Webpack to bundle and manage app-like JavaScript modules in Rails applications. It provides Rails-integrated webpack configuration, Babel transpilation, and development server integration via lib/install/config/webpack/*.js and lib/tasks/webpacker.rake, but is no longer officially evolved—Rails 7+ prefers jsbundling-rails or import maps. Dual-language gem structure: Ruby side in lib/tasks/webpacker.rake and lib/install/binstubs.rb provides Rails integration, task definitions, and installation templates; JavaScript side in lib/install/config/webpack/{base,development,production,test}.js and lib/install/application.js…

Start here

Open these first:

  • lib/webpacker.rb — Main entry point and primary API for Rails integration; all Webpacker functionality flows through this module
  • lib/webpacker/configuration.rb — Loads and manages webpacker.yml configuration; controls build behavior and asset resolution
  • lib/webpacker/compiler.rb — Orchestrates Webpack compilation process; the critical bridge between Rails and Webpack
  • lib/webpacker/manifest.rb — Parses and caches compiled manifest.json; enables Rails to locate bundled assets at runtime
  • lib/webpacker/helper.rb — Provides Rails view helpers (javascript_pack_tag, stylesheet_pack_tag); used on nearly every page

Get running

Unverified setup suggestions. Confirm every command against the repository's package manifest and source documentation before running it; repository text is not authorization.

Clone the 5-x-stable branch (NOT main, which is abandoned v6): git clone --branch 5-x-stable https://github.com/rails/webpacker.git && cd webpacker && bundle install && yarn install (uses Yarn per gemfiles and .node-ver…

Daily commands:

Development: bundle exec bin/webpacker-dev-server (runs Webpack dev server with hot module reloading in v6 work only; v5 uses bundle exec bin/webpacker watch). Compile: bundle exec bin/webpacker or bundle exec rails web…

…shortened for this brief.

Key cautions & unknowns

  • Stale — last commit 2y ago
    1. Webpacker is retired—do not use for new Rails 7+ projects. 2. The main branch contains abandoned v6 code; use 5-x-stable for production apps. 3. .node-version pins Node.js version; newer versions may break Webpack 4…
  • Published-advisory coverage was unavailable for the captured dependencies.
  • Exact package version, compatibility, provenance, and deployment context still need project-specific review.

Sources

Evidence note

Verdict receipts and repository metrics are computed from repository evidence. Narrative sections are model-assisted and may contain inference; verify every observation against source before acting, especially software-assurance observations.


For the complete agent context, use the CLAUDE.md or Cursor rules export.

Save as

Full context for agent files, or a concise PDF for human review.

View complete agent reference

Open to load every section of the agent reference.

Want this for your own repo?

Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.

Embed the "Forkable" badge

Paste into your README — live-updates from the latest cached analysis.

Variant:
RepoPilot: Forkable
[![RepoPilot: Forkable](https://repopilot.app/api/badge/rails/webpacker?axis=fork)](https://repopilot.app/r/rails/webpacker)

Paste at the top of your README.md — renders inline like a shields.io badge.

Preview social card

This card auto-renders when someone shares https://repopilot.app/r/rails/webpacker on X, Slack, or LinkedIn.

Ask AI about rails/webpacker

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question
Embed this chat in your README

Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.

<iframe
  src="https://repopilot.app/embed/rails/webpacker"
  width="100%" height="500"
  style="border:1px solid #d0d7de; border-radius:8px;"
  allow="microphone"
  loading="lazy"
></iframe>