drborges / arbor-store

Seamless state management made with ❤️
https://github.com/drborges/arbor-store
8 stars 0 forks source link

Optimized webpack config #28

Closed drborges closed 6 years ago

drborges commented 6 years ago

Resolves #10

Webpack is now configured with:

  1. Uglifier
  2. Gzip compression
  3. Bundle analyzer for insights on what is being shipped in the final bundle
  4. babel-polyfill was replaced by ["transform-runtime", { "polyfill": false }] greatly readucing the final bundle size.

The final gzipped bundle is ~14.8 kb.