grunt-webpack
Version:
Use webpack with grunt.
16 lines (11 loc) • 310 B
JavaScript
;
const ProgressPlugin = require("webpack/lib/ProgressPlugin");
class ProgressPluginFactory {
constructor(grunt) {
this.grunt = grunt;
}
addPlugin(compiler, options) {
new ProgressPlugin({ profile: options.profile }).apply(compiler);
}
}
module.exports = ProgressPluginFactory;