Skip to content

Commit

Permalink
Update babel.config.js to include @avalabs/wallets-sdk to transform p…
Browse files Browse the repository at this point in the history
…rivate methods (#1230)
  • Loading branch information
onghwan authored and atn4z7 committed Mar 26, 2024
1 parent 2fd6ecb commit 8d5fd6c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/core-mobile/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }]]
}
]
Expand Down

0 comments on commit 8d5fd6c

Please sign in to comment.