This post explores ways to speed up assets precompilation in a Ruby on Rails application. It discusses the 'NoBuild' approach, optimization techniques for the assets:precompile task, and tips for improving the loading of the application. The post also compares different bundlers, such as Vite, Esbuild, and Bun, for compiling JavaScript assets.
•8m read time• From go.fastruby.io
Table of contents
The Starting PointWebpackerRails vs RakeLoading the ApplicationAssets PrecompilationConclusionSort: