- S-1: 隐私政策描述修正("混淆加密" → "HTTPS + 微信沙箱") - A-1: getCachedPatientId 统一导出 + 9 处 Storage 直读替换 - A-2: usePageData loading 改为 useState 响应式 - A-3: health.ts refreshingToday 移入 store state - M-2: prod config 移除 console.error/warn - M-4: clearCache 后同步刷新 request.ts 内存缓存 - Q-3: doctor/appointment.ts any[] → Appointment 类型 - Q-4: daily-monitoring 常量提取到 constants.ts - 清理: 删除空目录 FamilyPicker/HealthCard + 未使用组件 DeviceCard
25 lines
603 B
TypeScript
25 lines
603 B
TypeScript
import type { UserConfigExport } from '@tarojs/cli';
|
|
|
|
export default {
|
|
logger: { quiet: true },
|
|
mini: {
|
|
miniCssExtractPluginOption: { ignoreOrder: true },
|
|
terserOption: {
|
|
compress: {
|
|
drop_console: true,
|
|
drop_debugger: true,
|
|
pure_funcs: ['console.log', 'console.info', 'console.debug', 'console.warn', 'console.error'],
|
|
},
|
|
format: {
|
|
comments: false,
|
|
},
|
|
},
|
|
},
|
|
h5: {
|
|
miniCssExtractPluginOption: {
|
|
ignoreOrder: true,
|
|
cssLoaderOption: { importLoaders: 1, esModule: false },
|
|
},
|
|
},
|
|
} satisfies UserConfigExport;
|