forked from tornadocash/classic-ui
Compare commits
2 Commits
add30d1939
...
e110bb29be
Author | SHA1 | Date | |
---|---|---|---|
e110bb29be | |||
69841d8f56 |
@ -178,6 +178,24 @@ export default {
|
||||
if (ctx.isClient) {
|
||||
config.devtool = hasSourceMaps
|
||||
}
|
||||
config.module.rules.push({
|
||||
test: /\.(js|cjs|mjs|jsx)$/,
|
||||
include: /node_modules/,
|
||||
type: 'javascript/auto',
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
compact: false,
|
||||
presets: [['@babel/preset-env', { targets: 'defaults' }]],
|
||||
plugins: [
|
||||
'@babel/plugin-transform-private-methods',
|
||||
'@babel/plugin-transform-class-properties',
|
||||
'@babel/plugin-transform-optional-chaining',
|
||||
'@babel/plugin-transform-nullish-coalescing-operator'
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
config.module.rules.push({
|
||||
test: /\.bin$/,
|
||||
use: 'arraybuffer-loader'
|
||||
|
@ -30,7 +30,7 @@
|
||||
"@nuxtjs/moment": "^1.6.0",
|
||||
"@tornado/fixed-merkle-tree": "0.7",
|
||||
"@tornado/snarkjs": "0.1.20",
|
||||
"@tornado/tornado-oracles": "^2.1.0",
|
||||
"@tornado/tornado-oracles": "git+https://git.tornado.ws/tornadocontrib/tornado-oracles.git#937d65f829e044c1b649ca9305fa4d50733a6d57",
|
||||
"@tornado/websnark": "0.0.4",
|
||||
"@walletconnect/web3-provider": "1.7.8",
|
||||
"ajv": "^6.10.2",
|
||||
@ -64,6 +64,7 @@
|
||||
"web3": "1.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "7.24.4",
|
||||
"@nuxtjs/eslint-config": "^1.1.2",
|
||||
"@nuxtjs/eslint-module": "^1.1.0",
|
||||
"@vue/test-utils": "^1.0.0-beta.27",
|
||||
|
Loading…
x
Reference in New Issue
Block a user