Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ngx-builders/source-map-analyzer
typescript, builder
https://github.com/ngx-builders/source-map-analyzer
analyzer angular-cli builder nx nx-workspace
Last synced: about 1 month ago
JSON representation
typescript, builder
- Host: GitHub
- URL: https://github.com/ngx-builders/source-map-analyzer
- Owner: ngx-builders
- License: mit
- Created: 2020-04-05T14:38:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T09:37:08.000Z (about 1 month ago)
- Last Synced: 2024-10-04T14:57:24.459Z (about 1 month ago)
- Topics: analyzer, angular-cli, builder, nx, nx-workspace
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@ngx-builders/analyze
- Size: 103 KB
- Stars: 89
- Watchers: 2
- Forks: 12
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![source-map-analyzer](https://socialify.git.ci/ngx-builders/source-map-analyzer/image?font=Raleway&forks=1&issues=1&language=1&owner=1&pattern=Charlie%20Brown&pulls=1&stargazers=1&theme=Dark)
[![npm version](https://badge.fury.io/js/%40ngx-builders%2Fanalyze.svg)](https://badge.fury.io/js/%40ngx-builders%2Fanalyze)
![Node.js CI](https://github.com/ngx-builders/source-map-analyzer/workflows/Node.js%20CI/badge.svg?branch=master)
[![npm downloads](https://img.shields.io/npm/dt/@ngx-builders/analyze?label=npm%20downloads)](https://www.npmjs.com/package/@ngx-builders/analyze)# Builder To Run Source Map Explorer
[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#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.
#### --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](https://github.com/ngx-builders/source-map-analyzer/blob/master/LICENSE)## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Ankit
📖
Tobias Wittwer
📖
Bhavik
💻
vimal patel
💻
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!