chore: 调整开发预览其他环境的配置文件
This commit is contained in:
10
apps/y-code-v1/.env.dev-production
Normal file
10
apps/y-code-v1/.env.dev-production
Normal file
@@ -0,0 +1,10 @@
|
||||
VITE_NODE_ENV = development
|
||||
|
||||
VITE_PORT = 10013
|
||||
|
||||
VITE_OA_BASEURL = https://oa.shiyuegame.com
|
||||
|
||||
VITE_YCODE_BASEURL = https://custom-chart-api.shiyuegame.com
|
||||
# VITE_YCODE_BASEURL = https://custom-chart-api.shiyuegame.com:19998
|
||||
|
||||
VITE_YCODE_BASEURL_FRONT = https://custom-chart.shiyuegame.com
|
||||
9
apps/y-code-v1/.env.dev-staging
Normal file
9
apps/y-code-v1/.env.dev-staging
Normal file
@@ -0,0 +1,9 @@
|
||||
VITE_NODE_ENV = development
|
||||
|
||||
VITE_PORT = 10013
|
||||
|
||||
VITE_OA_BASEURL = https://oa-pre.shiyue.com
|
||||
|
||||
VITE_YCODE_BASEURL = https://custom-chart-pre-api.shiyue.com
|
||||
|
||||
VITE_YCODE_BASEURL_FRONT = https://custom-chart.shiyue.com
|
||||
@@ -5,8 +5,8 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "cross-env farm start --mode development",
|
||||
"dev:staging": "cross-env farm start --mode staging",
|
||||
"dev:prod": "cross-env farm start --mode production",
|
||||
"dev:staging": "cross-env farm start --mode dev-staging",
|
||||
"dev:prod": "cross-env farm start --mode dev-production",
|
||||
"build": "cross-env farm build --mode production",
|
||||
"build:staging": "cross-env farm build --mode staging",
|
||||
"preview": "cross-env farm preview",
|
||||
|
||||
Reference in New Issue
Block a user