Article describing how switching from Sprockets to Webpack can make your page load faster

This is actually a series of 3 articles explaining how to get the best
load
time for an SPA and why Sprockets will not allow you to get the last
required bits. More specifically, it doesn’t support code splitting
(lazy
code loading) out of the box and it’s not easy to implement that. But
webpack does:

http://rosenfeld.herokuapp.com/en/articles/2016-02-26-improving-spa-loading-time-with-webpack-and-why-sprockets-is-in-your-way