From 8d5fd6cb5c4b4c1ffe7a8a90fcc38afbc3149ba2 Mon Sep 17 00:00:00 2001 From: JungHwan Jang Date: Tue, 26 Mar 2024 13:41:50 -0400 Subject: [PATCH] Update babel.config.js to include @avalabs/wallets-sdk to transform private methods (#1230) --- packages/core-mobile/babel.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 }]] } ]