Package Exports
- browserify-ngannotate
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (browserify-ngannotate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
browserify-ngannotate
A browserify transform that uses ng-annotate to add dependency injection annotations to your AngularJS source code, preparing it for minification.
Usage
browserify -t browserify-ngannotate app.js > bundle.jsOptions
Provided options are passed through to ng-annotate. The add option defaults
to true.
For example, to remove annotations, one could use the following:
browserify -t [ browserify-ngannotate --no-add --remove ] app.js > bundle.jsInstall
npm install browserify-ngannotate --saveLicense
MIT