DEV Community

Discussion on: Split your Webpacker bundles to speed up the web

Collapse
 
rossta profile image
Ross Kaffenberger • Edited

Nice article. I recommend looking into the splitChunks optimization, which will do this type of static code splitting for you automatically. It can also help prevent duplicated modules across packs which is important if you’re rendering multiple packs on a page. See my previous post for more info dev.to/rossta/these-rails-apps-are...

Collapse
 
borama profile image
Matouš Borák

Thank you, your article is very informative, will look into it deeper!