1.0.2 • Published 7 years ago

ngsize v1.0.2

Weekly downloads
5
License
ISC
Repository
github
Last release
7 years ago

ngsize

You think the Angular CLI should totally print the total build size? Your calculating skills are not good enough to sum it up yourself? ngsize to the rescue.

image

How to use

Install

Either install globally: npm install -g ngsize

Or install as dev dependency and add it to your projects run scripts:

 npm install --save-dev ngsize

In your package.json:

"scripts": {
  "ngsize": "ngsize"
}

Usage

Pipe the output of the ng build command to ngsize:

ng build | ngsize

If you have installed ngsize only locally, you need to use it within an npm run script:

"scripts": {
  "ng": "ng",
  "ngsize": "ngsize",
  "build": "ng build | ngsize"
}

And then npm run build.

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago