md
This commit is contained in:
parent
b7fcd4bba9
commit
f06490c4b9
@ -75,7 +75,7 @@ module.exports = {
|
||||
},
|
||||
configureWebpack: config => {
|
||||
// 开发环境不配置
|
||||
if (process.env.NODE_ENV !== 'production' ) return
|
||||
if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'staging') return
|
||||
|
||||
// 生产环境才去配置
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user