Skip to content

Commit 44c3d3d

Browse files
authored
fix[react-devtools-standalone]: define missing globals (#32327)
Same as what we did for `react-devtools-fusebox` in #32297.
1 parent ae3190c commit 44c3d3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react-devtools-core/webpack.standalone.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ module.exports = {
8888
__PROFILE__: false,
8989
__TEST__: NODE_ENV === 'test',
9090
__IS_NATIVE__: true,
91+
__IS_FIREFOX__: false,
92+
__IS_CHROME__: false,
93+
__IS_EDGE__: false,
9194
'process.env.DEVTOOLS_PACKAGE': `"react-devtools-core"`,
9295
'process.env.DEVTOOLS_VERSION': `"${DEVTOOLS_VERSION}"`,
9396
'process.env.EDITOR_URL': EDITOR_URL != null ? `"${EDITOR_URL}"` : null,

0 commit comments

Comments
 (0)