From b43107ab945888c71ad45fde9f7fd830d0129f6c Mon Sep 17 00:00:00 2001 From: MaysWind Date: Thu, 21 Jan 2021 22:20:58 +0800 Subject: [PATCH] update echarts packaging config --- vue.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vue.config.js b/vue.config.js index b39cc880..8c3b6bd0 100644 --- a/vue.config.js +++ b/vue.config.js @@ -21,6 +21,10 @@ module.exports = { }, publicPath: '', productionSourceMap: false, + transpileDependencies: [ + 'vue-echarts', + 'resize-detector' + ], configureWebpack:{ plugins: [ new MomentLocalesPlugin()