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, 15 },
16 "autoclose" : true, 16 "compilerVersion": 4,
17 "delay" : 0 17 "splashscreen": {
18 "alwaysShowBeforeRender": true,
19 "waiting": true,
20 "autoclose": true,
21 "delay": 0
18 }, 22 },
19 /* 模块配置 */ 23 /* 模块配置 */
20 "modules" : {}, 24 "modules": {},
21 /* 应用发布信息 */ 25 /* 应用发布信息 */
22 "distribute" : { 26 "distribute": {
23 /* android打包配置 */ 27 /* android打包配置 */
24 "android" : { 28 "android": {
25 "permissions" : [], 29 "permissions": [],
26 "autoSdkPermissions" : true 30 "autoSdkPermissions": true
27 }, 31 },
28 /* ios打包配置 */ 32 /* ios打包配置 */
29 "ios" : { 33 "ios": {
30 "permissions" : [], 34 "permissions": [],
31 "autoSdkPermissions" : true 35 "autoSdkPermissions": true
32 }, 36 },
33 /* SDK配置 */ 37 /* SDK配置 */
34 "sdkConfigs" : {} 38 "sdkConfigs": {}
35 } 39 }
36 }, 40 },
37 /* 快应用特有相关 */ 41 /* 快应用特有相关 */
38 "quickapp" : {}, 42 "quickapp": {},
39 /* 小程序特有相关 */ 43 /* 小程序特有相关 */
40 "mp-weixin" : { 44 "mp-weixin": {
41 "appid" : "wx5d51e8ed31bbdbb7", 45 "appid": "wx5d51e8ed31bbdbb7",
42 "setting" : { 46 "minify": true,
43 "urlCheck" : false, 47 "uglify": true,
44 "minified" : false, 48 "setting": {
45 "es6" : true 49 "urlCheck": false,
50 "minified": false,
51 "es6": true
46 }, 52 },
47 "usingComponents" : true, 53 "usingComponents": true,
48 "permission" : {}, 54 "permission": {},
49 "optimization" : { 55 "optimization": {
50 "subPackages" : true 56 "subPackages": true
51 } 57 },
58 "lazyLoading": true
59 },
60 "mp-alipay": {
61 "usingComponents": true
52 }, 62 },
53 "mp-alipay" : { 63 "mp-baidu": {
54 "usingComponents" : true 64 "usingComponents": true
55 }, 65 },
56 "mp-baidu" : { 66 "mp-toutiao": {
57 "usingComponents" : true 67 "usingComponents": true
58 }, 68 },
59 "mp-toutiao" : { 69 "uniStatistics": {
60 "usingComponents" : true 70 "enable": false
61 }, 71 },
62 "uniStatistics" : { 72 "vueVersion": "3",
63 "enable" : false 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 } 86 }
72 } 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!