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
Hello, thanks for the cool library. I'm using nuxt and have encountered an issue where when using the library I'm getting incorrect relative paths returned from tsconfig.
baseUrl should be interpreted as relative to the base tsconfig,
but we need to update it so it is relative to the original tsconfig being loaded
I think the idea is the same. Each relative path in compilerOptions.paths should be modified to be relative to the original tsconfig being loaded. Without doing this, these paths do not have much sense after merging them together into a single array, as some of them are relative to the original tsconfig, while others are relative to tsconfig from extends property.
Hello, thanks for the cool library. I'm using nuxt and have encountered an issue where when using the library I'm getting incorrect relative paths returned from tsconfig.
Example
FIle System
tsconfig.json
.nuxt/tsconfig.json
Expected
Result
Suggestion
When searching for paths in tsconfig.json, consider the path to the tsconfig file in which the paths were found and the baseUrl field.
Example code
The text was updated successfully, but these errors were encountered: