Skip to content

Commit

Permalink
Merge pull request #1738 from ably/1729/fix-react-native-bundle-for-jest
Browse files Browse the repository at this point in the history
Add `globalObject: 'global'` for react native webpack config
  • Loading branch information
VeskeR authored Apr 17, 2024
2 parents 8aaa996 + 2e8de67 commit 60faa30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const reactNativeConfig = {
output: {
...baseConfig.output,
filename: 'ably-reactnative.js',
globalObject: 'global',
},
entry: {
index: platformPath('react-native'),
Expand Down

0 comments on commit 60faa30

Please sign in to comment.