2024-02-18 10:11:17 -06:00
|
|
|
diff --git a/node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js b/node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js
|
|
|
|
index 3e66f1e..d1b1b14 100644
|
|
|
|
--- a/node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js
|
|
|
|
+++ b/node_modules/@pmmmwh/react-refresh-webpack-plugin/lib/runtime/RefreshUtils.js
|
|
|
|
@@ -224,26 +224,26 @@ function executeRuntime(moduleExports, moduleId, webpackHot, refreshOverlay, isT
|
|
|
|
data.prevData = getWebpackHotData(moduleExports);
|
|
|
|
}
|
|
|
|
);
|
|
|
|
- webpackHot.accept(
|
|
|
|
- /**
|
|
|
|
- * An error handler to allow self-recovering behaviours.
|
|
|
|
- * @param {Error} error An error occurred during evaluation of a module.
|
|
|
|
- * @returns {void}
|
|
|
|
- */
|
|
|
|
- function hotErrorHandler(error) {
|
|
|
|
- if (typeof refreshOverlay !== 'undefined' && refreshOverlay) {
|
|
|
|
- refreshOverlay.handleRuntimeError(error);
|
|
|
|
- }
|
|
|
|
+ // webpackHot.accept(
|
|
|
|
+ // /**
|
|
|
|
+ // * An error handler to allow self-recovering behaviours.
|
|
|
|
+ // * @param {Error} error An error occurred during evaluation of a module.
|
|
|
|
+ // * @returns {void}
|
|
|
|
+ // */
|
|
|
|
+ // function hotErrorHandler(error) {
|
|
|
|
+ // if (typeof refreshOverlay !== 'undefined' && refreshOverlay) {
|
|
|
|
+ // refreshOverlay.handleRuntimeError(error);
|
|
|
|
+ // }
|
2024-02-20 23:50:09 -06:00
|
|
|
|
2024-02-18 10:11:17 -06:00
|
|
|
- if (typeof isTest !== 'undefined' && isTest) {
|
|
|
|
- if (window.onHotAcceptError) {
|
|
|
|
- window.onHotAcceptError(error.message);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
+ // if (typeof isTest !== 'undefined' && isTest) {
|
|
|
|
+ // if (window.onHotAcceptError) {
|
|
|
|
+ // window.onHotAcceptError(error.message);
|
|
|
|
+ // }
|
|
|
|
+ // }
|
2024-02-20 23:50:09 -06:00
|
|
|
|
2024-02-18 10:11:17 -06:00
|
|
|
- __webpack_require__.c[moduleId].hot.accept(hotErrorHandler);
|
|
|
|
- }
|
|
|
|
- );
|
|
|
|
+ // __webpack_require__.c[moduleId].hot.accept(hotErrorHandler);
|
|
|
|
+ // }
|
|
|
|
+ // );
|
2024-02-20 23:50:09 -06:00
|
|
|
|
2024-02-18 10:11:17 -06:00
|
|
|
if (isHotUpdate) {
|
|
|
|
if (
|