过滤开发环境
This commit is contained in:
parent
7d68f74b8c
commit
35eb28c4c9
@ -109,7 +109,9 @@ module.exports = {
|
||||
ignore: ['.*']
|
||||
}
|
||||
]));
|
||||
config.plugins.push(new BundleAnalyzerPlugin());
|
||||
if (process.env.NODE_ENV == 'production') {
|
||||
config.plugins.push(new BundleAnalyzerPlugin());
|
||||
}
|
||||
const externalsConfig = {
|
||||
// 'vue': 'Vue',
|
||||
// 'vuex': 'Vuex',
|
||||
|
Loading…
Reference in New Issue
Block a user