
Shakapacker
Rails gem and npm package that bundles a Rails app's JavaScript and CSS with webpack or Rspack and exposes the output through Rails view helpers.
Shakapacker connects a Rails application to a JavaScript bundler. It runs webpack or Rspack over the app’s JavaScript and CSS, writes a manifest of the output files, and gives view helpers for rendering the bundled assets. It is added to a Rails app with bundle add, and an installer task writes the bundler configuration and entry points into the app. The project’s configuration lives in config/shakapacker.yml, and the bundler configuration stays editable for teams that need custom setups.
The project describes itself as the successor to rails/webpacker, the bundler integration it replaces. ShakaCode, LLC, a consultancy for Rails teams, maintains it.
Worth knowing
Compiling the assets runs as a step of assets:precompile, so the machine or CI job that precompiles the app needs Node.js as well as Ruby. The installation guide lists both as requirements.
Identity
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-28: links, Install with
shakapacker.com/ - 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/shakacode/shakapacker - 2026-10-28: links, Categories, Built on, Install with, License model
github.com/shakacode/shakapacker/blob/main/README.md - 2026-10-28: Maintainer, Maintained by, Headquarters
www.shakacode.com/ - 2026-10-28: Runtime
shakapacker.com/docs/installation/ - 2026-10-28: Minimum runtime
github.com/shakacode/shakapacker/blob/v10.3.2/shakapacker.gemspec - 2026-10-28: Runs as
shakapacker.com/docs/deployment/ - 2026-10-28: First release
rubygems.org/api/v1/versions/shakapacker.json - 2026-10-28: Current major version, Last release
api.github.com/repos/shakacode/shakapacker/releases - 2026-10-28: Contributors
api.github.com/repos/shakacode/shakapacker/contributors - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/shakapacker - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/shakapacker