Skip to content

Instantly share code, notes, and snippets.

@sharvit
Created December 27, 2017 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sharvit/19440366d4edcb3c4302b19e8049b7be to your computer and use it in GitHub Desktop.
Save sharvit/19440366d4edcb3c4302b19e8049b7be to your computer and use it in GitHub Desktop.
How to check webpack stats in foreman
  1. Get webpack stats into json file
NODE_ENV=production ./node_modules/.bin/webpack --config config/webpack.config.js --json > stats.json
  1. Upload your stats.json file to webpack-visualizer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment