Tips and tricks

Web Development - How to analyse the bundle size for angular

If you are using angular, you can generate a stats json with this command

ng build your-project-name --configuration production --stats-json

Then, you can do:

webpack-bundle-analyzer -m static dist/out/stats.json       

Leave a comment

Your email address will not be published

{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}