ModusCreateOrg/react-dynamic-route-loading-es6

Support CSS code Splitting

monkindey opened this issue · 2 comments

The https://burning-heat-4609.firebaseapp.com/ website only split the JS code,

But sometime different router have huge CSS, Maybe we can support CSS code splitting.

Any Thought?

grgur commented

if you use ExtractTextPlugin you can use allChunks: true to bundle all of the css in one big file, or leave it false to bundle css as part of code-split js modules

Thanks for your reply. I'll try it.