base-url
replacer aliases vendors when directories monitored in the tsconfig paths
have the same name
#148
valeriobelli
started this conversation in
General
Replies: 2 comments 1 reply
-
@valeriobelli this looks like a baseUrl issue. Please check the FAQ #110 question 1. |
Beta Was this translation helpful? Give feedback.
1 reply
-
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm unsure if I've found a bug or if it's misconfigured. Let's explain it with an example because it's peculiar.
Given this
tsconfig.json
the following dependencies in the
package.json
the following package's folders
and the following file contained in
~/io-ts/applicationContext/index.ts
The replacement ends up with
As you can see, it seems like
tsc-alias
is treating vendors with homonyms folders as aliases.io-ts
should have been resolved to the vendor, and not prefixed with the relative path to theio-ts
folder. I supposebase-url
is where this is happening. Is it due to a misconfiguration, or is it a bug?Let me know if you need some more context.
Beta Was this translation helpful? Give feedback.
All reactions