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
{{ message }}
Repository navigation
Paths for module resolutions have ambiguous behaviour #21636
{"compilerOptions": {"baseUrl": ".","paths": {"@speedy/*/testing": ["src/*/dist"]// the above is resolved to src/package-1/testing/dist}}}
Expected behavior:
That the * in the resolved path matches returns only the matched part. Ex: When having the following module @speedy/package-1/testing, the path is picked up by @speedy/*/testing => @speedy/package-1/testing and thus in the resolved part it should becomesrc/*/dist => src/package-1/dist
Actual behavior:
The resolutions seems to be taking the *and the trailing part. Taking the same example as abovesrc/*/dist => src/package-1/testing/dist.
I'd expect that the /testing after the star is omitted, the same as the current behavior for anything preceding the star which in fact is omitted.
Activity
fix: `matchedText` was not properly extract the correct parts from th…
fix: `matchedText` was not properly extract the correct parts from th…
fix: `matchedText` module resolution incorrect length (#21647)