Webpack loader to annotate angular applications. Generates a sourcemaps as well.
module: {
loaders: [
{test: /src.*\.js$/, loaders: ['ng-annotate']},
]
}
{test: /src.*\.js$/, loaders: ['ng-annotate?add=false&map=false']}
More about ng-annotate
parameters
{test: /src.*\.js$/, loaders: ['ng-annotate?plugin[]=ng-annotate-adf-plugin']}
{test: /src.*\.js$/, loaders: ['ng-annotate', 'babel-loader']},