UNPKG

grunt-webpack

Version:
16 lines (11 loc) 310 B
"use strict"; 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;