Miss any of our Open RFC calls?Watch the recordings here! »

ng-annotate-webpack-plugin

0.3.0 • Public • Published

ng-annotate-webpack-plugin

WebPack plugin that runs ng-annotate on your bundles

Based on ngmin-webpack-plugin

Usage

In webpack.config.js:

var webpack = require('webpack');
var ngAnnotatePlugin = require('ng-annotate-webpack-plugin');
 
module.exports = {
    /// ... rest of config
    plugins: [
        new ngAnnotatePlugin({
            add: true,
            // other ng-annotate options here
        })
    ]
}
 

If you are looking for a loader instead of a plugin, use ng-annotate-loader instead

Install

npm i ng-annotate-webpack-plugin

DownloadsWeekly Downloads

10,765

Version

0.3.0

License

MIT

Unpacked Size

4.49 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar