finds.dev

rails/webpacker

Use Webpack to manage app-like JavaScript modules in Rails

View on GitHub

★ 5,275RubyMITupdated Jul 2024

// the take

Webpacker was the official Rails integration for Webpack, shipping from Rails 5 through 6. It's been formally retired since Rails 7 dropped in 2021, and the README says so in the first line. If you're here looking for an active tool, you're in the wrong place.

The handoff documentation is actually good — the README clearly explains three migration paths (jsbundling-rails, importmap-rails, or Shakapacker) with links and a switching guide. The Ruby-side code is well-structured, with a clean separation between the gem's Ruby layer and the npm package. Test coverage is solid, including both Ruby minitest and Jest for the JS side. The fact that Shakapacker picked up the v6 work means the investment wasn't entirely wasted.

It's dead. No new features, no JS dependency updates — only Ruby-side security patches, and only through Rails' own maintenance window. The npm package is frozen at whatever webpack version shipped with v5. Anyone adopting this today is inheriting webpack 4 configuration patterns and a dependency tree that's rotting. The v6 branch never shipped as an official gem, which means four-plus years of accumulated issues around HMR and dev server proxy were never officially resolved.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
5,275
Forks
1,449
Language
Ruby
License
MIT
Last commit
16 Jul 2024

// nearby

If webpacker isn't quite it.

All repos →