3 Commits

Author SHA1 Message Date
bootx
d9ed525e86 build(h5): 清理无用依赖与冗余构建配置
- 移除 vite-plugin-compression 及 compress.ts,删相关 env 与类型字段
- 移除 date-fns,vite.config 改用原生 nowStr 生成构建时间
- 修复 rollup-plugin-visualizer 的 ESM 默认导入 interop 问题
- commitlint 移除 cz-git 的 prompt 死配置
- 关闭 dev server 自动打开浏览器
2026-06-23 22:44:34 +08:00
bootx
38417a4a50 build(h5): 升级 eslint9/@antfu9 并修复依赖隐患
- 移除 @oxc-parser/binding-win32-x64-msvc 平台锁定(改由 pnpm 自动解析)

- eslint 8→9, @antfu/eslint-config 2→9, eslint-plugin-format 升级

- commitlint 18→19, @types/node 25→24 对齐运行时 Node v24

- rimraf 3→6

- 适配 @antfu9 新规则: 空对象/Function 类型/空 catch/正则捕获组

- lint:fix 统一新风格(引号/分号等自动格式化)
2026-06-23 15:27:23 +08:00
DaxPay
5459778faf feat 更新h5脚手架 2024-05-15 13:23:15 +08:00