Skip to content

Upgrade vite-plugin-dts to v3 to fix test runner#1

Open
dkzlv wants to merge 1 commit intomainfrom
indent-2026-03-11-fix-vitest-config
Open

Upgrade vite-plugin-dts to v3 to fix test runner#1
dkzlv wants to merge 1 commit intomainfrom
indent-2026-03-11-fix-vitest-config

Conversation

@dkzlv
Copy link
Copy Markdown
Owner

@dkzlv dkzlv commented Mar 11, 2026

Summary

  • Upgrades vite-plugin-dts from ^1.7.1 to ^3.9.1 to fix a module resolution incompatibility with @microsoft/api-extractor
  • The old v1.x version produced a double .js.js file extension when resolving @microsoft/api-extractor/lib-commonjs/collector/Collector.js, which prevented vitest from loading vite.config.ts entirely

Test plan

  • npx vitest run — 10 runtime tests pass
  • npm run check — TypeScript type-check and 11 type-level tests pass

Generated with Indent - session link

…olution error.

The old vite-plugin-dts v1.7.x was incompatible with the resolved @microsoft/api-extractor,
causing a double .js.js extension in module imports that prevented vitest from loading the config.

Generated with [Indent](https://indent.com)
Co-Authored-By: Indent <noreply@indent.com>
@dkzlv dkzlv added the indent label Mar 11, 2026 — with indent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant