Package Exports
- gobble-ng-annotate
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 (gobble-ng-annotate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gobble-ng-annotate
Convert angular code to the minification-safe annotated format using ngAnnotate.
Installation
If you haven’t installed gobble yet, do that first. This is your usual npm install.
npm install gobble-ng-annotate --save-dev
Usage
In your gobblefile, you can now use the transformation.
import 'gobble';
export default gobble('my-angular-stuff').transform('ng-annotate', opts);
When you provide the first transform arg as a string, Gobble goes looking for it
on its own; no need to require
. However you can also require
it and pass in
the module itself instead of a string.
Options
Options are identical those normally used with ng-annotate, except that sourcemaps are active by default and "add" mode is active by default.