1.1.0 • Published 7 years ago

angular-inline-cli v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Angular inline CLI

Inlines template and styles for compiled Angular components, modifies the compiled component and metadata files.

Installing

$ npm install --save angular-inline-cli

Usage

ngi [-s|--silent] [-c|--compress] <directory>

  -s, --silent     Output only critical errors
  -c, --compress   Compress files before inlining

  <directory>      Directory where the compiled files are

Examples

ngi --compress dist/lib/

This would take all component.js and component.metadata.json files and recursively replace the templateUrl and styleUrls with the compressed content.