universal-react-redux-boilerplate icon indicating copy to clipboard operation
universal-react-redux-boilerplate copied to clipboard

How can I do code splitting in this framework ?

Open mohamedfasil opened this issue 8 years ago • 3 comments

mohamedfasil avatar Jun 19 '17 17:06 mohamedfasil

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) 😅

CrocoDillon avatar Jun 23 '17 05:06 CrocoDillon

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

pailhead avatar Sep 04 '17 00:09 pailhead

Any update on this, I'm trying to acheive route based code splitting

mohamedfasil avatar Nov 10 '17 02:11 mohamedfasil