Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to easily turn on bundle analyze #32

Open
ezhlobo opened this issue Dec 4, 2020 · 1 comment
Open

Add the possibility to easily turn on bundle analyze #32

ezhlobo opened this issue Dec 4, 2020 · 1 comment

Comments

@ezhlobo
Copy link
Member

ezhlobo commented Dec 4, 2020

I think we should build in webpack-bundle-analyzer and make it used for dreact app. For example dreact app build --analyze.

An alternative is officially recommended source-map-explorer: https://create-react-app.dev/docs/analyzing-the-bundle-size/

@radion-chernyakov
Copy link

For running bundle analyzer I'd recommend turning off optimizaation#concatenateModules in the webpack config. It makes the research of what is going on inside the bundle easier.

One more tool for analyzing is https://statoscope.tech/ that helps you inspect stats.json from webpack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants