Webpacker is dead! Upgrading to Rails 7 with Importmaps, then ESBuild for SCSS and compiled JS!

Опубликовано: 27 Март 2026
на канале: Winston Codes On
8,962
206

Please support my work on Patreon!
  / winstonkotzan  

Tip me in BTC! Bitcoin Address: 13FKUusPH1UPvgSkoQRRy6hEg4hyMqKzLS

Source code: https://github.com/wakproductions/sto...

0:00 Overview
1:29 Rails upgrade process and strategy
3:54 Rails gem upgrade and rake app:update
7:07 Importmap feature install
11:34 F*** importmap-rails, let's use ESBuild
13:49 Installing ESBuild (jsbundling-rails) to replace Webpacker
16:09 Return of Sprockets (asset pipeline) for SCSS!
19:33 Switching Hotwire Turbo/Stimulus from Webpacker to ESBuild

Outtro Music:
CO.AG - Escape the Apex
   • Escape the Apex -  Futuristic Sci-fi Elect...  

Useful links:
https://www.the-guild.dev/blog/suppor...
https://irian.to/blogs/what-are-cjs-a...
DHH: Alpha preview: Rails 7 w/ esbuild + Tailwind CSS -    • Alpha preview: Rails 7 w/ esbuild + Tailwi...