.
This commit is contained in:
+39
@@ -0,0 +1,39 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
0 && (module.exports = {
|
||||
REACT_REFRESH_FULL_RELOAD: null,
|
||||
REACT_REFRESH_FULL_RELOAD_FROM_ERROR: null,
|
||||
reportInvalidHmrMessage: null
|
||||
});
|
||||
function _export(target, all) {
|
||||
for(var name in all)Object.defineProperty(target, name, {
|
||||
enumerable: true,
|
||||
get: all[name]
|
||||
});
|
||||
}
|
||||
_export(exports, {
|
||||
REACT_REFRESH_FULL_RELOAD: function() {
|
||||
return REACT_REFRESH_FULL_RELOAD;
|
||||
},
|
||||
REACT_REFRESH_FULL_RELOAD_FROM_ERROR: function() {
|
||||
return REACT_REFRESH_FULL_RELOAD_FROM_ERROR;
|
||||
},
|
||||
reportInvalidHmrMessage: function() {
|
||||
return reportInvalidHmrMessage;
|
||||
}
|
||||
});
|
||||
const REACT_REFRESH_FULL_RELOAD = '[Fast Refresh] performing full reload\n\n' + "Fast Refresh will perform a full reload when you edit a file that's imported by modules outside of the React rendering tree.\n" + 'You might have a file which exports a React component but also exports a value that is imported by a non-React component file.\n' + 'Consider migrating the non-React component export to a separate file and importing it into both files.\n\n' + 'It is also possible the parent component of the component you edited is a class component, which disables Fast Refresh.\n' + 'Fast Refresh requires at least one parent function component in your React tree.';
|
||||
const REACT_REFRESH_FULL_RELOAD_FROM_ERROR = '[Fast Refresh] performing full reload because your application had an unrecoverable error';
|
||||
function reportInvalidHmrMessage(message, err) {
|
||||
console.warn('[HMR] Invalid message: ' + JSON.stringify(message) + '\n' + (err instanceof Error && err?.stack || ''));
|
||||
}
|
||||
|
||||
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
||||
Object.defineProperty(exports.default, '__esModule', { value: true });
|
||||
Object.assign(exports.default, exports);
|
||||
module.exports = exports.default;
|
||||
}
|
||||
|
||||
//# sourceMappingURL=shared.js.map
|
||||
Reference in New Issue
Block a user