过滤开发环境

This commit is contained in:
zyy 2020-05-21 17:28:10 +08:00
parent 7d68f74b8c
commit 35eb28c4c9

View File

@ -109,7 +109,9 @@ module.exports = {
ignore: ['.*']
}
]));
if (process.env.NODE_ENV == 'production') {
config.plugins.push(new BundleAnalyzerPlugin());
}
const externalsConfig = {
// 'vue': 'Vue',
// 'vuex': 'Vuex',