silverstripe / webpack-config

Reusable webpack bundle declarations for Silverstripe modules
BSD 3-Clause "New" or "Revised" License
16 stars 9 forks source link

Add bundle analyzer #40

Closed maxime-rainville closed 4 years ago

maxime-rainville commented 4 years ago

Add a bundle analyzer to our webpack-config. That way you can define the following flag when building your bundle: ANALYZE_BUNDLE=1 yarn build

This will allow you to visualise what's in the bundle. image

Parent issue