Commit 5350db34 authored by zL's avatar zL

新增cs正式环境打包

parent 74713b02
NODE_ENV = 'production'
VUE_APP_CURRENTMODE = 'cs_prod'
VUE_APP_VERSION = '0'
\ No newline at end of file
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
"dev:sy": "vue-cli-service serve --mode sy_test", "dev:sy": "vue-cli-service serve --mode sy_test",
"dev:cs": "vue-cli-service serve --mode cs_test", "dev:cs": "vue-cli-service serve --mode cs_test",
"build:sy_prod": "vue-cli-service build --mode sy_prod_build", "build:sy_prod": "vue-cli-service build --mode sy_prod_build",
"build:cs_prod": "vue-cli-service build --mode cs_prod_build",
"deploy:sy": "vue-cli-service build --mode sy_test_build && bash ./sy.sh", "deploy:sy": "vue-cli-service build --mode sy_test_build && bash ./sy.sh",
"deploy:cs": "vue-cli-service build --mode cs_test_build && bash ./cs.sh" "deploy:cs": "vue-cli-service build --mode cs_test_build && bash ./cs.sh"
}, },
......
...@@ -35,5 +35,14 @@ const configModules = { ...@@ -35,5 +35,14 @@ const configModules = {
filename: 'index.html' filename: 'index.html'
} }
}, },
"cs_prod": {
CHAIN_BROWSER_URL_PREFIX: 'https://ccs.chain33.pro/',
INERFACE_URL_PREFIX: 'https://cs.chain33.pro/api',
INDEX: {
entry: './src/entry/cs/main.ts',
template: './public/cs/index.html',
filename: 'index.html'
}
},
} }
exports.model = configModules[process.env.VUE_APP_CURRENTMODE] exports.model = configModules[process.env.VUE_APP_CURRENTMODE]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment