fix[react-devtools-fusebox]: add extension globals to build (#32297)
We started using these globals in `react-devtools-shared/src/frontend` code, forward-fixing https://github.com/facebook/react/pull/32262.
Ruslan Lesiutin committed
Feb 3, 2025 at 09:59 UTC
a4b2d0d51854b10ca0346ab8977da4975d2a7498
1 file changed
+3
packages/react-devtools-fusebox/webpack.config.frontend.js
+3
@@ -83,6 +83,9 @@ module.exports = {
83
__PROFILE__: false,
84
__TEST__: NODE_ENV === 'test',
85
__IS_NATIVE__: true,
86
+ __IS_CHROME__: false,
87
+ __IS_FIREFOX__: false,
88
+ __IS_EDGE__: false,
89
'process.env.DEVTOOLS_PACKAGE': `"react-devtools-fusebox"`,
90
'process.env.DEVTOOLS_VERSION': `"${DEVTOOLS_VERSION}"`,
91
'process.env.EDITOR_URL': EDITOR_URL != null ? `"${EDITOR_URL}"` : null,