Skip to content

fix(typescript-plugin): resolve requests against the owning project - #6152

Merged
KazariEX merged 3 commits into
vuejs:masterfrom
serkodev:fix/multi-project-config
Aug 10, 2026
Merged

KazariEX merged 3 commits into
vuejs:masterfrom
serkodev:fix/multi-project-config

Conversation

@serkodev

Copy link
Copy Markdown
Member

Fix #6151

@serkodev
serkodev marked this pull request as ready for review August 10, 2026 11:36
@KazariEX
KazariEX merged commit 10c9168 into vuejs:master Aug 10, 2026
4 checks passed
johnsoncodehk added a commit that referenced this pull request Oct 22, 2026
CSS module specifiers belong to CSS content mappers registered in the tsconfig;
Vue no longer resolves them. `<style>` `@import`/`@use` and template asset links
are resolved by the CSS/HTML language services alone (relative and root paths).

- language-service: drop the `getDocumentContext` overrides and the document link
  retry loop in the CSS and template plugins (#6033's `allowNonExistent` path)
- language-server: drop the `resolveModuleName` callback and `moduleResolution.ts`
- typescript-plugin: drop the `_vue:resolveModuleName` request
- tests: the `<style>` link test asserts that tsconfig `paths` don't apply; the
  #6152 owning-project test uses `_vue:getImportPathForFile` instead

BREAKING CHANGE: tsconfig `paths` aliases in `<style>` `@import` and template
asset URLs are no longer followed by document links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[typescript-plugin] session handlers capture first project's state

2 participants