md
This commit is contained in:
parent
0504a8bcfa
commit
fa58945cb4
@ -1,7 +1,6 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 管理系统
|
||||
|
||||
NODE_ENV='production'
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ module.exports = {
|
||||
},
|
||||
configureWebpack: config => {
|
||||
// 开发环境不配置
|
||||
if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'staging') return
|
||||
if (process.env.NODE_ENV !== 'production') return
|
||||
|
||||
// 生产环境才去配置
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user