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) 645 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HotModule = void 0; var tslib_1 = require("tslib"); var webpack_1 = require("webpack"); var PluginHandle_1 = require("./PluginHandle"); var HotModule = /** @class */ (function (_super) { tslib_1.__extends(HotModule, _super); function HotModule() { return _super !== null && _super.apply(this, arguments) || this; } HotModule.prototype.collect = function () { return [ new webpack_1.HotModuleReplacementPlugin(), ]; }; return HotModule; }(PluginHandle_1.PluginHandle)); exports.HotModule = HotModule;