sharynjs / sharyn

🌹 Sharyn – A collection of JavaScript / TypeScript packages that make your life easier and reduce your boilerplate code
MIT License
31 stars 3 forks source link

Code Splitting #4

Open verekia opened 5 years ago

verekia commented 5 years ago

It is very tricky to get all Server Side Rendering + Code Splitting + Hot Module Reloading to work well together. At the moment Code Splitting is not supported. Here's the intended task flow for this issue:

First, wait for a response on https://github.com/faceyspacey/react-universal-component/issues/141. Then:

verekia commented 5 years ago

Try a build with this: https://github.com/faceyspacey/webpack-flush-chunks/blob/master/docs/webpack-stats.md#stats-from-a-file