rspack_rails 1.0: Rspack with HMR for Rails, set up in one command
rspack_rails sets up Rspack in a Rails app: hot module replacement for JS, CSS, Stimulus and React in development, and the normal asset pipeline (Propshaft or Sprockets) in production. In this write-up I compare it with esbuild and webpack: rebuilds after an edit take 83 ms vs 279 ms with esbuild, and production builds are 6-9x faster than webpack.
Post a comment