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...
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...
Thank you, your article is very informative, will look into it deeper!