You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i use yarn workspaces and import something from inside the script tag of a sfc vue component and i want to go to the definition of the import i get to the *.d.ts file in the dist folder. But when i import the same thing in a "normal" file e.g. main.ts and go to definition i get to the .ts file in the src folder.
In the mouseover the resolved path for the imported module is the same in both cases so i think the differences is that in the second case it follows the sourceMappingURL and in the first one not
Info
Problem
When i use yarn workspaces and import something from inside the script tag of a sfc vue component and i want to go to the definition of the import i get to the *.d.ts file in the dist folder. But when i import the same thing in a "normal" file e.g. main.ts and go to definition i get to the .ts file in the src folder.
In the mouseover the resolved path for the imported module is the same in both cases so i think the differences is that in the second case it follows the sourceMappingURL and in the first one not
Reproducible Case
Clone this repo https://github.com/mariusheine/vetur-yarn-workspace-typescript-definition-problem and follow the README.
Then open App.vue and main.ts and try "Go To Definition of any import of @vetur-yarn-workspace-typescript-definition-problem/domain.
The text was updated successfully, but these errors were encountered: