build(custom): 增加环境变量

This commit is contained in:
2023-11-29 17:35:06 +08:00
parent 33efd66ef9
commit 641a46fdf7
3 changed files with 8 additions and 1 deletions

6
.env.one Normal file
View File

@@ -0,0 +1,6 @@
TARO_APP_API = 'https://www.jdt168.com/dice'
TARO_APP_WS = 'wss://www.jdt168.com/dice/home'
TARO_APP_HOME = 'https://www.jdt168.com/app/game'

View File

View File

@@ -15,7 +15,8 @@
"build:tt": "taro build --type tt", "build:tt": "taro build --type tt",
"build:h5": "taro build --type h5", "build:h5": "taro build --type h5",
"build:h5:test": "taro build --type h5 --mode test", "build:h5:test": "taro build --type h5 --mode test",
"build:tow": "taro build --type h5 --mode prod", "build:one": "taro build --type h5 --mode one",
"build:tow": "taro build --type h5 --mode tow",
"build:rn": "taro build --type rn", "build:rn": "taro build --type rn",
"build:qq": "taro build --type qq", "build:qq": "taro build --type qq",
"build:jd": "taro build --type jd", "build:jd": "taro build --type jd",