Shakapacker is the actively maintained successor to rails/webpacker. It provides a Rails-native, manifest-backed bridge to full bundlers (webpack 5 or Rspack). It includes built-in support for view helpers, Hot Module Replacement (HMR), React Fast Refresh, code splitting, Subresource Integrity (SRI), CDN hosts, and HTTP 103 Early Hints.
Rspack is a Rust-based, mostly webpack-compatible bundler that can be used with Shakapacker to significantly increase build speeds. Reported performance gains include roughly 8x faster production builds, 10–15x faster dev startup, and ~17x faster HMR compared to webpack.