Builder To Run Source Map Explorer

January 5, 2022 ยท View on GitHub

source-map-analyzer

npm version Node.js CI npm downloads

Builder To Run Source Map Explorer

All Contributors

Want to run the source-map-explorer with Angular? This builder does it for you with zero configuration.

Setting up this Builder

ng add @ngx-builders/analyze
OR
ng add @ngx-builders/analyze --project={projectName}

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.

That's it. Now, you are good to go

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.

๐Ÿ“ฆ Options

--gzip

  • optional
  • Default: false (boolean)
  • Example:
    • ng run [YOUR_PROJECT_NAME]:analyze --gzip โ€“ Give the stats of gzip bundle.

--diffLoading

  • optional
  • Default: false (boolean)
  • Example:
    • ng run [YOUR_PROJECT_NAME]:analyze --diffLoading=true โ€“ You can change to true if differential loading is enabled.

License

MIT

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Ankit

๐Ÿ“–

Tobias Wittwer

๐Ÿ“–

Bhavik

๐Ÿ’ป

vimal patel

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!