Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Bundle Size Optimization Updates #184

Merged
merged 4 commits into from
May 23, 2016
Merged

Conversation

toddw
Copy link
Contributor

@toddw toddw commented May 23, 2016

  1. Add support for webpack plugins. This allows us to use things like webpack's IgnorePlugin plugin and/or the ContextReplacementPlugin. (http://stackoverflow.com/questions/25384360/how-to-prevent-moment-js-from-loading-locales-with-webpack)
  2. To better understand the bundle size, the webpack stats are now output to webpack-bundle-stats.json This file can be piped to webpack-bundle-size-analyzer like cat webpack-bundle-stats.json | webpack-bundle-size-analyzer for more detailed results.
  3. Made react-router imports more specific as to not include parts of the library we are not using.

@christinebrass
Copy link
Contributor

👍

@christinebrass christinebrass merged commit a5bf2c3 into develop May 23, 2016
@christinebrass christinebrass deleted the toddw/size-optimizations branch May 23, 2016 23:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants