Runs the ngmin pre-minimizer to insert AngularJS DI annotations, so instead of writing
angular;
you can write
angular;
Usage
In your webpack config:
var ngminPlugin = ; moduleexports = // your config and junk plugins: // or, new ngminPlugin({dynamic: true}) for dynamic mode.
As a more realistic example, if you're running webpack from a script (like gulp or grunt):
var webpack = ;var ngminPlugin = ;var webpackConfig = ;var argv = processargv; // --production optionif argvproduction webpackConfigplugins = webpackConfigplugins; webpackConfigdevtool = false; webpack webpackConfig err stats -> if err throw err consolelog statstoString