Why does Rails 6 include both Webpacker and Sprockets?
A new Rails 6 application will install both Webpacker and Sprockets by default. Don’t they solve the same problem? This article dives into why Sprockets lives on even though webpack has surpassed most of its features and why you might want to choose one over the other. https://rossta.net/blog/why-does-rails-install-both-webpacker-and-sprockets.html