diff --git a/packages/core-mobile/babel.config.js b/packages/core-mobile/babel.config.js index c09e3c9171..c0ab636073 100644 --- a/packages/core-mobile/babel.config.js +++ b/packages/core-mobile/babel.config.js @@ -24,12 +24,11 @@ module.exports = { 'inline-dotenv', 'react-native-reanimated/plugin', '@babel/plugin-transform-class-static-block', - '@babel/plugin-transform-export-namespace-from', - ['@babel/plugin-transform-private-methods', { loose: true }] // required by @avalabs/wallets-sdk + '@babel/plugin-transform-export-namespace-from' ], overrides: [ { - include: /node_modules\/(@tanstack|ethers)/, + include: /node_modules\/(@tanstack|ethers|@avalabs\/wallets-sdk)/, plugins: [['@babel/plugin-transform-private-methods', { loose: true }]] } ]