e7e47c98 by 张猛

修改uniapp配置

1 parent 4dd6e009
1 { 1 {
2 "name" : "ztx_wx_admin", 2 "name": "ztx_wx_admin",
3 "appid" : "__UNI__580BCB0", 3 "appid": "__UNI__580BCB0",
4 "description" : "", 4 "description": "",
5 "versionName" : "1.0.1", 5 "versionName": "1.0.1",
6 "versionCode" : "100", 6 "versionCode": "100",
7 "transformPx" : false, 7 "transformPx": false,
8 /* 5+App特有相关 */ 8 /* 5+App特有相关 */
9 "app-plus" : { 9 "app-plus": {
10 "usingComponents" : true, 10 "usingComponents": true,
11 "nvueStyleCompiler" : "uni-app", 11 "nvueStyleCompiler": "uni-app",
12 "compilerVersion" : 3, 12 "optimization": {
13 "splashscreen" : { 13 "treeShaking": true
14 "alwaysShowBeforeRender" : true, 14 // 新增:摇树优化
15 "waiting" : true,
16 "autoclose" : true,
17 "delay" : 0
18 },
19 /* 模块配置 */
20 "modules" : {},
21 /* 应用发布信息 */
22 "distribute" : {
23 /* android打包配置 */
24 "android" : {
25 "permissions" : [],
26 "autoSdkPermissions" : true
27 },
28 /* ios打包配置 */
29 "ios" : {
30 "permissions" : [],
31 "autoSdkPermissions" : true
32 },
33 /* SDK配置 */
34 "sdkConfigs" : {}
35 }
36 }, 15 },
37 /* 快应用特有相关 */ 16 "compilerVersion": 4,
38 "quickapp" : {}, 17 "splashscreen": {
39 /* 小程序特有相关 */ 18 "alwaysShowBeforeRender": true,
40 "mp-weixin" : { 19 "waiting": true,
41 "appid" : "wx5d51e8ed31bbdbb7", 20 "autoclose": true,
42 "setting" : { 21 "delay": 0
43 "urlCheck" : false,
44 "minified" : false,
45 "es6" : true
46 },
47 "usingComponents" : true,
48 "permission" : {},
49 "optimization" : {
50 "subPackages" : true
51 }
52 }, 22 },
53 "mp-alipay" : { 23 /* 模块配置 */
54 "usingComponents" : true 24 "modules": {},
55 }, 25 /* 应用发布信息 */
56 "mp-baidu" : { 26 "distribute": {
57 "usingComponents" : true 27 /* android打包配置 */
28 "android": {
29 "permissions": [],
30 "autoSdkPermissions": true
31 },
32 /* ios打包配置 */
33 "ios": {
34 "permissions": [],
35 "autoSdkPermissions": true
36 },
37 /* SDK配置 */
38 "sdkConfigs": {}
39 }
40 },
41 /* 快应用特有相关 */
42 "quickapp": {},
43 /* 小程序特有相关 */
44 "mp-weixin": {
45 "appid": "wx5d51e8ed31bbdbb7",
46 "minify": true,
47 "uglify": true,
48 "setting": {
49 "urlCheck": false,
50 "minified": false,
51 "es6": true
58 }, 52 },
59 "mp-toutiao" : { 53 "usingComponents": true,
60 "usingComponents" : true 54 "permission": {},
55 "optimization": {
56 "subPackages": true
61 }, 57 },
62 "uniStatistics" : { 58 "lazyLoading": true
63 "enable" : false 59 },
60 "mp-alipay": {
61 "usingComponents": true
62 },
63 "mp-baidu": {
64 "usingComponents": true
65 },
66 "mp-toutiao": {
67 "usingComponents": true
68 },
69 "uniStatistics": {
70 "enable": false
71 },
72 "vueVersion": "3",
73 "fallbackLocale": "zh-Hans",
74 "locale": "zh-Hans",
75 "h5": {
76 "devServer": {
77 "port": 8080,
78 "hot": false,
79 // 关闭热重载
80 "liveReload": false
81 // 关闭实时重载
64 }, 82 },
65 "vueVersion" : "3", 83 "optimization": {
66 "fallbackLocale" : "zh-Hans", 84 "treeShaking": true
67 "locale" : "zh-Hans", 85 // H5 摇树优化
68 "h5" : {
69 "devServer" : {
70 "port" : 8080
71 }
72 } 86 }
87 }
73 } 88 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!