RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in