Simplify fee calculation & Add network from networkConfig #35
@ -178,6 +178,19 @@ export default {
|
|||||||
if (ctx.isClient) {
|
if (ctx.isClient) {
|
||||||
config.devtool = hasSourceMaps
|
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: []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
test: /\.bin$/,
|
test: /\.bin$/,
|
||||||
use: 'arraybuffer-loader'
|
use: 'arraybuffer-loader'
|
||||||
|
@ -64,6 +64,7 @@
|
|||||||
"web3": "1.5.2"
|
"web3": "1.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/preset-env": "7.24.4",
|
||||||
"@nuxtjs/eslint-config": "^1.1.2",
|
"@nuxtjs/eslint-config": "^1.1.2",
|
||||||
"@nuxtjs/eslint-module": "^1.1.0",
|
"@nuxtjs/eslint-module": "^1.1.0",
|
||||||
"@vue/test-utils": "^1.0.0-beta.27",
|
"@vue/test-utils": "^1.0.0-beta.27",
|
||||||
|
Loading…
Reference in New Issue
Block a user