ctrlplusb / react-universally

A starter kit for universal react applications.
MIT License
1.7k stars 244 forks source link

Little additions to the dev experience #519

Closed oyeanuj closed 6 years ago

oyeanuj commented 6 years ago

Hi folks, just a few minor enhancements.

  1. Added size-limit to the project, which allows for a quick command from the CLI to get a sense of the bundle size (when minified and gzipped).

  2. Added exclusions to the dev vendor DLL for packages that won't make it to the browser. I saw this implemented in React-Boilerplate.

  3. Improved on error messaging in hotNodeServer.

Thanks!

PS. The way I set this up, somehow the colors -> chalk PR got merged in here, so if this PR looks good, please make sure to merge that PR before this one. Sorry for the confusion!

sergiokopplin commented 6 years ago

Hey @oyeanuj, there are things from other branchs i guess. Why 'hydrate' is being called to mount the react app?

oyeanuj commented 6 years ago

@sergiokopplin It seems like this PR branch got polluted on my end. I'll close this one and issue another one freshly branched from next. Sorry about that!