guhongwei 2 years ago
parent
commit
36a110a2bd
2 changed files with 3 additions and 2 deletions
  1. 2 1
      app.json
  2. 1 1
      project.config.json

+ 2 - 1
app.json

@@ -124,5 +124,6 @@
         "scope.userLocation": {
             "desc": "你的位置信息将用于小程序位置接口的效果展示"
         }
-    }
+    },
+    "lazyCodeLoading": "requiredComponents"
 }

+ 1 - 1
project.config.json

@@ -47,7 +47,7 @@
         "showES6CompileOption": false,
         "useCompilerPlugins": false,
         "useStaticServer": true,
-        "ignoreUploadUnusedFiles": false
+        "ignoreUploadUnusedFiles": true
     },
     "compileType": "miniprogram",
     "libVersion": "2.19.4",