1.5.1 • Published 3 years ago
@hifed/taro-cli v1.5.1
@hifed/taro-cli
安装
npm install @hifed/taro-cli -g
使用
{
"browserslist": [
"Chrome >= 35",
"ChromeAndroid >= 35",
"iOS >= 8",
"Safari >= 8",
"Android >= 4.1",
"QQAndroid >= 4.1",
"UCAndroid >= 4.1"
],
}
DNA构建
version --custom // --custom支持自定义版本号,不加则以yyyy.MMdd.hhmm为版本号,也可不执行该命令
hifed-taro build --config-env production --type weapp
*注:* node环境变量需要注入API_ENV=dev|test|stable|sit|pre|real 或者使用--api-env
### 本地构建
hifed-taro build --type xxx --api-env xxx --config-env xxx --watch --vars xxx --profile
*注:* api-env=dev|test|stable|sit|pre|real
*注:* config-env=development|production
*注:* type=weapp|alipay|swan|tt|qq