JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 26238
  • Score
    100M100P100Q145251F
  • License MIT

Webpack loader that runs ng-annotate on your bundles

Package Exports

  • ng-annotate-loader

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-loader) 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-loader Build Status

Webpack loader to annotate angular applications. Generates a sourcemaps as well.

Usage:

module: {
    loaders: [
      {test: /src.*\.js$/, loaders: ['ng-annotate']},
    ]
  }

Passing parameters:

    {test: /src.*\.js$/, loaders: ['ng-annotate?add=false&sourcemap=false']}

More about ng-annotate parameters

Using ng-annotate plugins:

    {test: /src.*\.js$/, loaders: ['ng-annotate?plugin[]=ng-annotate-adf-plugin']}

Works great with js compilers, babel for example:

    {test: /src.*\.js$/, loaders: ['ng-annotate', 'babel-loader']},

Using loaders