Package Exports
- ng-annotate-cleaner
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 (ng-annotate-cleaner) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ng-annotate-cleaner
webpack plugin for remove ng-annotate
'd "ngInject" from build files of https://github.com/olov/ng-annotate
Usage
npm i ng-annotate-cleaner --save-dev
import to webpack config
- es5
var NgAnnotateCleaner = require('ng-annotate-cleaner');
- es6
import NgAnnotateCleaner from 'ng-annotate-cleaner';
add to plugins section
...
config.plugins = [
new NgAnnotateCleaner()
]
issues https://github.com/djleonskennedy/ng-annotate-cleaner/issues
License
MIT, see LICENSE file.