0.0.3 • Published 2 years ago

ng-annotate-webpack-plugin-patched v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ng-annotate-webpack-plugin-patched

WebPack plugin that runs ng-annotate-patched on your bundles

Fork of ng-annotate-webpack-plugin

Usage

In webpack.config.js:

var webpack = require('webpack');
var ngAnnotatePlugin = require('ng-annotate-webpack-plugin-patched');

module.exports = {
    /// ... rest of config
    plugins: [
        new ngAnnotatePlugin()
    ]
}

To modify the default plugin options or to add options for ng-annotate:

var webpack = require('webpack');
var ngAnnotatePlugin = require('ng-annotate-webpack-plugin-patched');

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