You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
860 B
43 lines
860 B
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = void 0;
|
|
|
|
function _react() {
|
|
const data = _interopRequireDefault(require("react"));
|
|
|
|
_react = function _react() {
|
|
return data;
|
|
};
|
|
|
|
return data;
|
|
}
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
function send(message) {
|
|
if (process.send) {
|
|
process.send(message);
|
|
}
|
|
}
|
|
|
|
class CompileStatusWebpackPlugin {
|
|
apply(compiler) {
|
|
compiler.hooks.compile.tap('umi-ui-compile-status compile', () => {
|
|
send({
|
|
type: 'org.umi.ui.bubble.showLoading'
|
|
});
|
|
});
|
|
compiler.hooks.done.tap('umi-ui-compile-status done', () => {
|
|
send({
|
|
type: 'org.umi.ui.bubble.hideLoading'
|
|
});
|
|
});
|
|
}
|
|
|
|
}
|
|
|
|
var _default = CompileStatusWebpackPlugin;
|
|
exports.default = _default; |