fix(lib/modules/metro): blacklist turbo modules properly
This commit is contained in:
parent
3bb2203ff9
commit
1c6da3a376
1 changed files with 1 additions and 1 deletions
|
|
@ -50,6 +50,6 @@ export function isModuleExportBad(
|
|||
// Is it a proxy? (discord-intl has proxy exports)
|
||||
isProxy(exp) ||
|
||||
// Does it have some non-existent key? (Turbo modules)
|
||||
(!exp.__proto__ && '\u0001' in exp)
|
||||
(typeof exp === 'object' && '\u0001' in exp)
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue