Skip to content

Commit a4b2d0d

Browse files
authored
fix[react-devtools-fusebox]: add extension globals to build (facebook#32297)
We started using these globals in `react-devtools-shared/src/frontend` code, forward-fixing facebook#32262.
1 parent 1f0b03c commit a4b2d0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react-devtools-fusebox/webpack.config.frontend.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ module.exports = {
8383
__PROFILE__: false,
8484
__TEST__: NODE_ENV === 'test',
8585
__IS_NATIVE__: true,
86+
__IS_CHROME__: false,
87+
__IS_FIREFOX__: false,
88+
__IS_EDGE__: false,
8689
'process.env.DEVTOOLS_PACKAGE': `"react-devtools-fusebox"`,
8790
'process.env.DEVTOOLS_VERSION': `"${DEVTOOLS_VERSION}"`,
8891
'process.env.EDITOR_URL': EDITOR_URL != null ? `"${EDITOR_URL}"` : null,

0 commit comments

Comments
 (0)