diff --git a/data-room-ui/.env.history b/data-room-ui/.env.history index 798f4cbd..d96c923e 100644 --- a/data-room-ui/.env.history +++ b/data-room-ui/.env.history @@ -9,7 +9,4 @@ VUE_APP_BASE = '/bigScreen' # VUE_APP_HISTORY为是否开启history模式 VUE_APP_HISTORY = 'y' -# 打包后的文件夹名称 -VUE_APP_OUTPUT_DIR = 'dataRoomUi' - VUE_APP_BUILD_TYPE = 'example' \ No newline at end of file diff --git a/data-room-ui/.env.pro.history b/data-room-ui/.env.pro.history deleted file mode 100644 index 7f61e07a..00000000 --- a/data-room-ui/.env.pro.history +++ /dev/null @@ -1,14 +0,0 @@ -NODE_ENV = production - -# just a flag -ENV = 'history' - -# VUE_APP_BASE为项目访问路径的前缀 -VUE_APP_BASE = '/dataRoomPro' -# VUE_APP_HISTORY为是否开启history模式 -VUE_APP_HISTORY = 'y' - -# 打包后的文件夹名称 -VUE_APP_OUTPUT_DIR = 'dataRoomPro' - -VUE_APP_BUILD_TYPE = 'example' \ No newline at end of file diff --git a/data-room-ui/.env.pro.production b/data-room-ui/.env.pro.production deleted file mode 100644 index f145bf3d..00000000 --- a/data-room-ui/.env.pro.production +++ /dev/null @@ -1,10 +0,0 @@ -# just a flag -ENV = 'production' - -# base api -VUE_APP_BASE_API = '/dataRoomPro' - -# 打包后的文件夹名称 -VUE_APP_OUTPUT_DIR = 'dataRoomPro' - -VUE_APP_BUILD_TYPE = 'example' \ No newline at end of file diff --git a/data-room-ui/.env.production b/data-room-ui/.env.production index ed010031..0f0e4ebb 100644 --- a/data-room-ui/.env.production +++ b/data-room-ui/.env.production @@ -4,7 +4,5 @@ ENV = 'production' # base api VUE_APP_BASE_API = '/bigScreen' -# 打包后的文件夹名称 -VUE_APP_OUTPUT_DIR = 'dataRoomUi' VUE_APP_BUILD_TYPE = 'example' \ No newline at end of file diff --git a/data-room-ui/package.json b/data-room-ui/package.json index e64f8726..f67c4ce6 100644 --- a/data-room-ui/package.json +++ b/data-room-ui/package.json @@ -26,9 +26,6 @@ "build:stage": "vue-cli-service build --mode staging", "build:hash": "vue-cli-service build", "build:history": "vue-cli-service build --mode history", - "build:hash:pro": "vue-cli-service build --name dataRoomPro", - "build:history:pro": "vue-cli-service build --mode=pro.history", - "build:history:all": "vue-cli-service build --mode history && vue-cli-service build --mode=pro.history", "preview": "node build/index.js --preview", "lint": "eslint --ext .js,.vue packages", "lint:fix": "eslint --ext .js,.vue packages --fix", diff --git a/data-room-ui/vue.config.example.js b/data-room-ui/vue.config.example.js index 11f798cb..e99b730b 100644 --- a/data-room-ui/vue.config.example.js +++ b/data-room-ui/vue.config.example.js @@ -42,7 +42,7 @@ module.exports = { }, publicPath: process.env.VUE_APP_HISTORY === 'y' ? process.env.VUE_APP_BASE : './', - outputDir: process.env.VUE_APP_OUTPUT_DIR || 'dist', + outputDir: 'dataRoomUi', assetsDir: 'static', lintOnSave: false, productionSourceMap: false,