-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Fallbacks #79
Comments
Hey, thanks for this. I think the reason I did that was because libs like Jest only support a single alias (at the time of writing). If you're saying it is supported now, then absolutely, it would be best to support that! |
FWIW I have not had the time this year to do much OSS at all, but actually it looks like I will have some time over the next few months, so I'll do my best to get to this. |
Actually, I just checked all the tools you have plugins for. babel accepts an array, rollup unfortunately does not and neither does the rollup plugin linked in the issue. Regarding module-alias I haven't found any information, but when looking at the source it doesn't look like it. And I just realized there is the I already tested it locally and can create a pr for webpack. You might still consider rewording the description. |
As per the typescript docs, one can specify multiple mappings which are tried in turn such as
Unfortunately,
alias-hq
outputsWhich leads to the failing to resolve imports if the file is in the second directory, namely
./src/types/
.The docs of both tools say you can also pass arrays.
Can we get support for this?
The text was updated successfully, but these errors were encountered: