alexlobera / universal-create-react-app

43 stars 23 forks source link

Broken dynamic imports #5

Closed owennicol closed 7 years ago

owennicol commented 7 years ago

First of all, thanks for creating this, it's awesome and so helpful!

When using default Create React App, we can use dynamic imports to lazy load modules using React Router: Example

With your version, when it breaks when we try to use the same technique. I've changed the webpack config in config/webpack.config.client.dev.js line 24 to use the 'stock client', which seems to make it work, but the build still fails for the production version.

Is this something you can help with please?