fix staging环境下 除了mode其他配置跟production一致
This commit is contained in:
parent
ca8b03103f
commit
1ca94a0c14
|
|
@ -101,7 +101,7 @@ module.exports = function (webpackEnv) {
|
|||
// staging 把mode改为none,其他跟production一样
|
||||
const isEnvStaging = webpackEnv === 'staging';
|
||||
const isEnvDevelopment = webpackEnv === 'development';
|
||||
const isEnvProduction = webpackEnv === 'production';
|
||||
const isEnvProduction = webpackEnv === 'production' || isEnvStaging;
|
||||
|
||||
// Variable used for enabling profiling in Production
|
||||
// passed into alias object. Uses a flag if passed into the build command
|
||||
|
|
|
|||
Loading…
Reference in New Issue