jvmccarthy / ng-annotate-loader

Webpack loader to annotate angular applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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&map=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

About

Webpack loader to annotate angular applications

License:MIT License


Languages

Language:JavaScript 85.3%Language:Shell 14.7%