From 035a946c4da93718b9ec859e3c0275e45a3a8d46 Mon Sep 17 00:00:00 2001 From: yuming Date: Tue, 2 Jun 2026 07:35:21 +0800 Subject: [PATCH] =?UTF-8?q?app.json=20=E5=90=AF=E7=94=A8=20lazyCodeLoading?= =?UTF-8?q?=3DrequiredComponents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 微信代码质量扫描推荐项:让小程序按需注入组件,减少冷启动包加载量。 对老版本基础库会自动降级到全量注入,安全。 Co-Authored-By: Claude Opus 4.7 (1M context) --- app.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.json b/app.json index 6bba91c..03304cd 100644 --- a/app.json +++ b/app.json @@ -35,6 +35,7 @@ ] }, "style": "v2", - "sitemapLocation": "sitemap.json" + "sitemapLocation": "sitemap.json", + "lazyCodeLoading": "requiredComponents" }