Ditch Node.js: A Simple Guide to Rails Importmaps
ruby
dev.to
How Importmaps Work in Rails (And Why You Don't Need Webpack) When I first started building modern Rails apps, managing JavaScript was always the most annoying part. We had Webpacker, package.json, and massive node_modules folders that took up gigabytes of space on my computer. Very often I found myself tired of waiting for Webpack to compile my code just to see a small JavaScript change in the browser. It felt very heavy, especially for solo developers. Then Rails introduced Impor