2 ms·
Rails offers a choice of: webpack, esbuild, rollup, bun (since Rails v.7.1 I believe) and importmaps (default). At least 5 built-in ways of doing JavaScript. A
by bitcoinofficial 2y ago
Rails offers a choice of: webpack, esbuild, rollup, bun (since Rails v.7.1 I believe) and importmaps (default).
At least 5 built-in ways of doing JavaScript. And there are many more outside that, of course. None of these is Rails' "fault". That's the world of JavaScript, how it is.
As for the assets - Sprockets or Propshaft. The latter will replace Sprockets in new Rails versions.