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