Skip to content

Commit

Permalink
fix[react-devtools-standalone]: define missing globals (#32327)
Browse files Browse the repository at this point in the history
Same as what we did for `react-devtools-fusebox` in
#32297.
  • Loading branch information
hoxyq authored Feb 7, 2025
1 parent ae3190c commit 44c3d3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-devtools-core/webpack.standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ module.exports = {
__PROFILE__: false,
__TEST__: NODE_ENV === 'test',
__IS_NATIVE__: true,
__IS_FIREFOX__: false,
__IS_CHROME__: false,
__IS_EDGE__: false,
'process.env.DEVTOOLS_PACKAGE': `"react-devtools-core"`,
'process.env.DEVTOOLS_VERSION': `"${DEVTOOLS_VERSION}"`,
'process.env.EDITOR_URL': EDITOR_URL != null ? `"${EDITOR_URL}"` : null,
Expand Down

0 comments on commit 44c3d3d

Please sign in to comment.