e7e47c98 by 张猛

修改uniapp配置

1 parent 4dd6e009
{
"name" : "ztx_wx_admin",
"appid" : "__UNI__580BCB0",
"description" : "",
"versionName" : "1.0.1",
"versionCode" : "100",
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/* 模块配置 */
"modules" : {},
/* 应用发布信息 */
"distribute" : {
/* android打包配置 */
"android" : {
"permissions" : [],
"autoSdkPermissions" : true
},
/* ios打包配置 */
"ios" : {
"permissions" : [],
"autoSdkPermissions" : true
},
/* SDK配置 */
"sdkConfigs" : {}
}
"name": "ztx_wx_admin",
"appid": "__UNI__580BCB0",
"description": "",
"versionName": "1.0.1",
"versionCode": "100",
"transformPx": false,
/* 5+App特有相关 */
"app-plus": {
"usingComponents": true,
"nvueStyleCompiler": "uni-app",
"optimization": {
"treeShaking": true
// 新增:摇树优化
},
/* 快应用特有相关 */
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wx5d51e8ed31bbdbb7",
"setting" : {
"urlCheck" : false,
"minified" : false,
"es6" : true
},
"usingComponents" : true,
"permission" : {},
"optimization" : {
"subPackages" : true
}
"compilerVersion": 4,
"splashscreen": {
"alwaysShowBeforeRender": true,
"waiting": true,
"autoclose": true,
"delay": 0
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
/* 模块配置 */
"modules": {},
/* 应用发布信息 */
"distribute": {
/* android打包配置 */
"android": {
"permissions": [],
"autoSdkPermissions": true
},
/* ios打包配置 */
"ios": {
"permissions": [],
"autoSdkPermissions": true
},
/* SDK配置 */
"sdkConfigs": {}
}
},
/* 快应用特有相关 */
"quickapp": {},
/* 小程序特有相关 */
"mp-weixin": {
"appid": "wx5d51e8ed31bbdbb7",
"minify": true,
"uglify": true,
"setting": {
"urlCheck": false,
"minified": false,
"es6": true
},
"mp-toutiao" : {
"usingComponents" : true
"usingComponents": true,
"permission": {},
"optimization": {
"subPackages": true
},
"uniStatistics" : {
"enable" : false
"lazyLoading": true
},
"mp-alipay": {
"usingComponents": true
},
"mp-baidu": {
"usingComponents": true
},
"mp-toutiao": {
"usingComponents": true
},
"uniStatistics": {
"enable": false
},
"vueVersion": "3",
"fallbackLocale": "zh-Hans",
"locale": "zh-Hans",
"h5": {
"devServer": {
"port": 8080,
"hot": false,
// 关闭热重载
"liveReload": false
// 关闭实时重载
},
"vueVersion" : "3",
"fallbackLocale" : "zh-Hans",
"locale" : "zh-Hans",
"h5" : {
"devServer" : {
"port" : 8080
}
"optimization": {
"treeShaking": true
// H5 摇树优化
}
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!