Created
October 26, 2016 17:12
-
-
Save sskoopa/bf9f0093da7b0869378f5a737aa9e9ef to your computer and use it in GitHub Desktop.
Why is my webpack bundle sooo big!?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is intended for use with create-react-app | |
#npm install -g webpack-bundle-size-analyzer | |
NODE_ENV=production webpack --config node_modules/react-scripts/config/webpack.config.prod.js --json src/index.js | webpack-bundle-size-analyzer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment