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 2.3: Hotwire, TypeScript and Tailwind presets, and a bundle analyzer

rspack_rails 2.3 is out. It bundles a Rails app’s JavaScript and CSS with Rspack, with hot module replacement in development and fingerprinted files that Rails serves itself in production. This release adds presets (hotwire, typescript, tailwind) so rspack:install[hotwire,typescript,tailwind] or RSPACK_PRESET=... with the template sets them up in one go, rails rspack:analyze for a Rsdoctor bundle report, and a rspack:doctor:fix that also repairs missing packages and the Docker lockfile. Walkthrough: https://dev.to/tungnt1203/rspackrails-23-hotwire-typescript-and-tailwind-presets-plus-a-bundle-analyzer-in-one-command-j1j (source: https://github.com/tungnt1203/rspack_rails)

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