diff --git a/miniprogram/project.config.json b/miniprogram/project.config.json index 04b9f45..bc7f468 100644 --- a/miniprogram/project.config.json +++ b/miniprogram/project.config.json @@ -14,7 +14,8 @@ "ignore": [], "disablePlugins": [], "outputPath": "" - } + }, + "ignoreUploadUnusedFiles": true }, "compileType": "miniprogram", "libVersion": "2.27.1", diff --git a/miniprogram/src/app.config.js b/miniprogram/src/app.config.js index b89512f..2371342 100644 --- a/miniprogram/src/app.config.js +++ b/miniprogram/src/app.config.js @@ -56,6 +56,7 @@ export default defineAppConfig({ // } ] }, + "lazyCodeLoading": "requiredComponents", "permission": { "scope.userLocation": { "desc": "你的位置信息将用于体温上报"