This commit is contained in:
linfso 2024-08-03 18:10:34 +08:00
parent 0504a8bcfa
commit fa58945cb4
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
# 页面标题
VUE_APP_TITLE = 管理系统
NODE_ENV='production'
# 生产环境配置
ENV = 'production'

View File

@ -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 {