Want to run the source-map-explorer with Angular? This builder does it for you with zero configuration.
ng add @ngx-builders/analyze
NOTE: This version uses npx to install source-map-explorer temporarily if it isn't installed already. If you don't have npx installed, please install it.
We will remove this dependecny in future updates.
Now whenever you want to analyze your angular project just run a command ng run [YOUR_PROJECT_NAME]:analyze
and it will run the source-map-explorer.
- optional
- Default:
false
(boolean) - Example:
ng run [YOUR_PROJECT_NAME]:analyze --gzip
โ Give the stats of gzip bundle.
- optional
- Default:
true
(boolean) - Example:
ng run [YOUR_PROJECT_NAME]:analyze --diffLoading=false
โ A new Angular 10 project will have differential loading set to false, but if you upgrade from previous version and have differential loading enabled it will remain the same. This flag is for backward compatibilily. You can skip this option if differential loading is enabled.
Thanks goes to these wonderful people (emoji key):
Ankit ๐ |
Tobias Wittwer ๐ |
Bhavik ๐ป |
This project follows the all-contributors specification. Contributions of any kind welcome!