Fix loaders configuration for WalletConnect lib
This commit is contained in:
parent
c7d315a6b3
commit
ca64c9e11f
@ -181,6 +181,19 @@ export default {
|
||||
config.module.rules.push({
|
||||
test: /\.bin$/,
|
||||
use: 'arraybuffer-loader'
|
||||
},
|
||||
{
|
||||
test: /node_modules[\\/]@walletconnect/,
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
presets: ['@babel/preset-env'],
|
||||
plugins: [
|
||||
'@babel/plugin-proposal-optional-chaining',
|
||||
'@babel/plugin-proposal-nullish-coalescing-operator'
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
plugins: [
|
||||
|
Loading…
Reference in New Issue
Block a user