UNPKG

webpack-genius

Version:

**For chinese developers:** you'd better add taobao mirror before everything start. Or you may fail to install. ```bash yarn config set registry http://registry.npm.taobao.org ```

20 lines (19 loc) 644 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Clean = void 0; var tslib_1 = require("tslib"); var clean_webpack_plugin_1 = require("clean-webpack-plugin"); var PluginHandle_1 = require("./PluginHandle"); var Clean = /** @class */ (function (_super) { tslib_1.__extends(Clean, _super); function Clean() { return _super !== null && _super.apply(this, arguments) || this; } Clean.prototype.collect = function () { return [ new clean_webpack_plugin_1.CleanWebpackPlugin(), ]; }; return Clean; }(PluginHandle_1.PluginHandle)); exports.Clean = Clean;