The tale of Sprockets and Webpacker duality

I push my fingers onto my… keyboard; it’s the only… way to run rails assets:precompile and get two independent bundles: one generated with Sprockets and the other using Webpacker! There’s nothing unusual about this idea so far. Well, except that both bundles are compiled from the same source files and provide equal functionality. “What the heck are you doing?” I’m migrating a large Rails application from Sprockets to Webpacker using a dual build strategy. Does this all sound new to you? Then keep reading!


The tale of Sprockets and Webpacker duality #ruby #rubydeveloper #rubyonrails #webpacker https://rubyonrails.ba/single/the-tale-of-sprockets-and-webpacker-duality

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles