liufumingren
|
4fdc10d4a3
|
fix(miniprogram): tsconfig 不再继承过期的 @vue/tsconfig,改用 bundler 解析
@vue/tsconfig@0.1.3 仍设 importsNotUsedAsValues / preserveValueImports,TS 5.5 起已删除;
它的 moduleResolution=Node 与 baseUrl 在 TS 6 也已弃用(VS Code 报 4 个错)。
- tsconfig 改成自包含:moduleResolution=bundler,paths 不再需要 baseUrl
- typescript ^6.0.3、vue-tsc ^3.3.13,移除未再使用的 @vue/tsconfig
- 已验证:npm run type-check / build:h5 / build:mp-weixin 均通过
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
2026-10-21 01:07:05 +08:00 |
|