ng-annotate-webpack-plugin-patched

0.0.3 • Public • Published

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
        })
    ]
}

Package Sidebar

Install

npm i ng-annotate-webpack-plugin-patched

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

4.86 kB

Total Files

4

Last publish

Collaborators

  • arnaudserre