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

23 lines (22 loc) 829 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ReactRefresh = void 0; var tslib_1 = require("tslib"); var PluginHandle_1 = require("./PluginHandle"); var react_refresh_webpack_plugin_1 = tslib_1.__importDefault(require("@pmmmwh/react-refresh-webpack-plugin")); var ReactRefresh = /** @class */ (function (_super) { tslib_1.__extends(ReactRefresh, _super); function ReactRefresh() { return _super !== null && _super.apply(this, arguments) || this; } ReactRefresh.prototype.collect = function () { return [ new react_refresh_webpack_plugin_1.default({ forceEnable: false, overlay: false, }), ]; }; return ReactRefresh; }(PluginHandle_1.PluginHandle)); exports.ReactRefresh = ReactRefresh;