Bundle optimize helper

You are concerned about your bundle size. You are not sure what is an acceptable bundle size and if yours is too big.

This tool will analyze your bundle and give you actionable suggestions on what to improve to reduce your bundle size. All you have to do is generate a stats file and upload that file to this tool and you will get a customized report.

Does anything look wrong or weird? Let me know on twitter @karljakoblind or create an issue on github.

Instructions to generate your report

First run webpack the same way you do for a production build, but add --profile --json > stats.json at the end. Example:

npx webpack --mode production --profile --json > stats.json

Open the stats.json file in a text editor and remove lines of text at the top that are not part of the JSON structure (if there are any)

Then drop stats.json here or click and select stats.json.