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 ```

19 lines (18 loc) 523 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PluginHandle = void 0; var PluginHandle = /** @class */ (function () { function PluginHandle(genius) { this.status = true; this.genius = genius; } PluginHandle.prototype.enable = function (enable) { this.status = enable; return this; }; PluginHandle.prototype.isUsed = function () { return this.status; }; return PluginHandle; }()); exports.PluginHandle = PluginHandle;