vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.56k stars 373 forks source link

Hybrid Mode not identifying SFC imports within PNPM Workspace. #4375

Open luanhenzo opened 1 month ago

luanhenzo commented 1 month ago

Hi.

I've just found this strange behaviour while working within a PNPM Workspace.

It's seems like when Hybrid Mode is set to auto and i'm working within a PNPM Workspace, TypeScript cannot identify SFC imports.

gif

It works perfectly in a non-monorepo enviroment.

EDIT: I don't have sure, but it's look like the extension is not identifying this enviroment as valid to enable the Hybrid Mode.