universal-react-redux-boilerplate
universal-react-redux-boilerplate copied to clipboard
How can I do code splitting in this framework ?
I'll look into this next weekend. Should be as easy as updating the Webpack config though, nothing magical going on (except that Webpack itself is pretty magical if you ask me) 😅
I've added a vendor entry point along with a CommonsChunkPlugin, followed by:
<script src={ javascript.vendor } /> //add this
<script src={ javascript.app } />
in /src/modules/App/Html.js
Any update on this, I'm trying to acheive route based code splitting