Install Gem
bundle add shakapackerJavaScript Bundling for Rails
Production-focused docs for configuring, deploying, and upgrading Shakapacker in Rails applications.
bundle add shakapackerbin/rails shakapacker:installbin/rails assets:precompileThe impact has been between a 2-4x build speed increase depending on the environment and conditions. The typical case of first startup with a warm cache has gone from roughly 1m with Webpack down to about 20s.
1m → 20sWarm-cache startup~10sIncremental prod builds4m30s → 3m30sCold-cache startup
Canonical markdown stays in shakapacker/docs. This site syncs that content at build time, so docs stay co-located with the code while deployment remains independent.
Drop-in Rails integration for modern JavaScript bundling with Webpack 5 and Rspack support.
Configuration, upgrades, and troubleshooting guidance are versioned alongside the source code.