chore: 上线前优化 — 清理调试日志/启用组件按需注入/补全组件声明

- 移除全项目 34 处调试 console.* 输出
- project.config.json: minified true、uploadWithSourceMap false、启用 lazyCodeLoading(requiredComponents 组件按需注入)
- pages/records/records.json 补全 ui-skeleton 组件声明(此前漏声明,WXML 已使用)
- 删除根目录残留 preview-buttons.html
This commit is contained in:
2026-08-04 14:05:16 +08:00
parent b52db87ddf
commit 187c426243
14 changed files with 100 additions and 199 deletions
+3 -2
View File
@@ -20,11 +20,11 @@
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"preloadBackgroundData": false,
"minified": false,
"minified": true,
"autoAudits": false,
"newFeature": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"uploadWithSourceMap": false,
"useIsolateContext": true,
"nodeModules": false,
"enhance": true,
@@ -52,6 +52,7 @@
"disableSWC": true
},
"compileType": "miniprogram",
"lazyCodeLoading": "requiredComponents",
"cloudfunctionRoot": "cloudfunctions/",
"libVersion": "3.3.4",
"appid": "wxb7f1bc86924869bc",