CodeCoupler Webpack Analyse Bundle (from Version 3.7 possible)
| npm run build:dev -- --stats stats.json
npx webpack-bundle-analyzer stats.json
|
Or
| npm run build -- --devtool source-map
npx source-map-explorer dist/YOUR_BUNDLE_NAME.js dist/YOUR_BUNDLE_NAME.js.map
|
If source-map-explorer do not open a browser:
| npm run build -- --devtool source-map
npx source-map-explorer dist/YOUR_BUNDLE_NAME.js dist/YOUR_BUNDLE_NAME.js.map --html stats.html
xdg-open stats.html
|