Skip to content

Commit 9b21856

Browse files
committed
Add more exceptions to scuttleGlobalThis config
1 parent 355864e commit 9b21856

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

packages/snaps-execution-environments/webpack.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,16 @@ const configs = ENTRY_POINTS.map(
238238
scuttleGlobalThis: {
239239
enabled: true,
240240
exceptions: [
241+
'Array',
242+
'Boolean',
243+
'Number',
244+
'Object',
241245
'postMessage',
246+
'Promise',
247+
'Reflect',
248+
'Set',
242249
'removeEventListener',
250+
'isNaN',
243251
'isSecureContext',
244252
'ReactNativeWebView',
245253
'JSON',

0 commit comments

Comments
 (0)