Webpack plugin that runs ng-annotate on your bundles
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Latest commit cbfe426 Apr 2, 2018
Permalink
Failed to load latest commit information.
.gitignore Initial commit Jul 17, 2014
LICENSE Initial commit Jul 17, 2014
README.md Update README.md Jun 28, 2015
index.js Finish: support webpack4 Mar 6, 2018
package.json 0.3.0 Apr 2, 2018

README.md

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