We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa322d0 commit 4d4cbf0Copy full SHA for 4d4cbf0
packages/react-error-overlay/webpack.config.iframe.js
@@ -30,8 +30,7 @@ module.exports = {
30
// in production mode.
31
'process.env': { NODE_ENV: '"production"' },
32
// This prevents our bundled React from accidentally hijacking devtools.
33
- __REACT_DEVTOOLS_GLOBAL_HOOK__:
34
- '__REACT_ERROR_OVERLAY_GLOBAL_HOOK_NOOP__',
+ __REACT_DEVTOOLS_GLOBAL_HOOK__: '({})',
35
}),
36
// This code is embedded as a string, so it would never be optimized
37
// elsewhere.
0 commit comments