Skip to content

optimization

ed eustace edited this page Jan 5, 2017 · 7 revisions

Optimization

See: webpack/docs/wiki/optimization.

Things to try:

  • reducing duplication in bundle + tree shakin
  • minification of bundle - getting uglify js errors - cos it doesnt work with es6: see this issue and this too
  • gzipping of bundle see: this gist
  • support for externals
  • need to try running npm dedupe

Clone this wiki locally