externals

This commit is contained in:
FairyEver 2019-12-12 20:26:16 +08:00
parent 2b6ff62544
commit 3a6a80ec31
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@ module.exports = {
}
},
configureWebpack: {
externals: {
'vue': 'Vue',
'vue-router': 'VueRouter',
'vuex': 'Vuex'
},
// 关闭文件过大提示,利于打包加快速度
performance: {
hints: 'warning',