Why does Rails 6 include both Webpacker and Sprockets?

Since you're reading this post, chances are you've heard Rails 6 installs both Webpacker and Sprockets and you're wondering WTF is going on. By the way, it's a whole May of WTFs for Rails.Wait, don't Sprockets and Webpacker basically do the same thing?If this is what you're thinking, you're not alone.
Why does Rails 6 include both Webpacker and Sprockets? #ruby #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles