From 35f072933361188453e9eb8684c4db25fcef5926 Mon Sep 17 00:00:00 2001 From: soliury Date: Wed, 29 Apr 2020 20:02:20 +0800 Subject: [PATCH] bugfix: some modules have const in libs --- pack/webpack/base.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pack/webpack/base.config.js b/pack/webpack/base.config.js index ce4208cdb..57e2df13d 100644 --- a/pack/webpack/base.config.js +++ b/pack/webpack/base.config.js @@ -84,7 +84,7 @@ module.exports = { { test: /\.(j|t)s$/, // exclude: /node_modules(?!(\/base-x)|(\/resize-detector)|(\/vue-echarts))|(\/@vite\/vitejs\/)/, - exclude: /node_modules(?!(\/base-x)|(\/resize-detector)|(\/vue-echarts)|(\/bip39))/, + exclude: /node_modules(?!(\/base-x)|(\/resize-detector)|(\/vue-echarts)|(\/bip39)|(\/bip32)|(\/@vite\/ledgerjs-hw-app-vite)|(\/@ledgerhq))/, use: { loader: 'babel-loader', options: { presets: ['@babel/preset-env'] }