We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b21856 commit 77e8bccCopy full SHA for 77e8bcc
packages/snaps-execution-environments/webpack.config.js
@@ -238,19 +238,16 @@ const configs = ENTRY_POINTS.map(
238
scuttleGlobalThis: {
239
enabled: true,
240
exceptions: [
241
- 'Array',
242
- 'Boolean',
243
- 'Number',
+ // Needed for all builds.
244
'Object',
+ 'Set',
245
'postMessage',
246
- 'Promise',
247
'Reflect',
248
- 'Set',
249
- 'removeEventListener',
250
- 'isNaN',
251
- 'isSecureContext',
252
- 'ReactNativeWebView',
+
+ // Only needed for the React Native WebView build.
+ // TODO: Only enable this for the React Native WebView build.
253
'JSON',
+ 'ReactNativeWebView',
254
'String',
255
],
256
},
0 commit comments