Skip to content

Commit

Permalink
fix[react-devtools-fusebox]: add extension globals to build (#32297)
Browse files Browse the repository at this point in the history
We started using these globals in `react-devtools-shared/src/frontend`
code, forward-fixing #32262.
  • Loading branch information
hoxyq authored Feb 3, 2025
1 parent 1f0b03c commit a4b2d0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-devtools-fusebox/webpack.config.frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ module.exports = {
__PROFILE__: false,
__TEST__: NODE_ENV === 'test',
__IS_NATIVE__: true,
__IS_CHROME__: false,
__IS_FIREFOX__: false,
__IS_EDGE__: false,
'process.env.DEVTOOLS_PACKAGE': `"react-devtools-fusebox"`,
'process.env.DEVTOOLS_VERSION': `"${DEVTOOLS_VERSION}"`,
'process.env.EDITOR_URL': EDITOR_URL != null ? `"${EDITOR_URL}"` : null,
Expand Down

0 comments on commit a4b2d0d

Please sign in to comment.