Skip to content

Commit

Permalink
Update/bundle (#32)
Browse files Browse the repository at this point in the history
* Add npm run analyze-bundles command.
* Update webpack to 3.10.
* lodash: use individual packages instead of pulling the whole lib.
* webpack: add uglify plugin. Note that I'm using the uglifyjs-webpack-plugin, not the one bundle by webpack.optimize.Uglify. It seems than the original saves a few bytes more.
* webpack: tell webpack we want to compile for production, so libs (react) can drop non production dependencies.
  • Loading branch information
nosolosw authored Dec 15, 2017
1 parent 2f237ff commit acc0f2c
Show file tree
Hide file tree
Showing 32 changed files with 467 additions and 119 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ tokens
targets/standalone/public/tokens
targets/standalone/public/happychat.css
targets/standalone/public/happychat.js
stats.json
Loading

0 comments on commit acc0f2c

Please sign in to comment.