You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(config): split server and spa builds via config parallelization
By using `require` for node rendering and `import()` for browser rendering, we
can pre-render everything but still allow SPA-like behavior after any given page
has been loaded. This split also allows us to use the `CommonsChunkPlugin`
for the browser bundles which are now only `150kb` a piece (`index` and
`vendor`) even without replacing `react` and `react-dom` with `preact` or `inferno`.
That replacement should drop the total down a huge amount (maybe even
enough to only generate a single core bundle) and I believe there's a few
other optimizations we can make as well (e.g. using `import()` for the voting
application).
Note that we now have to finish handling `import()` promises for client-side
`render`ing and hit the various other `TODO`s needed to finish the port to
pure `webpack`.
0 commit comments