-
Notifications
You must be signed in to change notification settings - Fork 83
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
resolve.alias doesn't work is this plugin #60
Comments
I initially think this may be some unrobust when using with the Normally it is as expected when using This is one of the main tasks for next version, I still need more time for futher testing, thanks for your patience. |
I had read the source codes of It's using some external resolvers to resolve the paths which defined in That is a bad news, it means that this plugins cannot make some cooperations with other plugins. |
Oo good catch, so I guess, the better thing to do for now is to rewrite the aliases into the resolve.alias option ? Edit: I just found an another package, but I can't tell if the source is ok or no :/ |
I did a simple test and it is work well with Also you can use the |
Thank you very much @qmhc ! You can close the issue ;) |
@viclafouch would you mind sharing your config? It seems like emitted typescript declarations do not work with |
I'm facing this exact issue. I have defined my aliases in vite.config.ts, but it is not working with vite-plugin-dts. Would someone share there solution? |
I have the same issue as well. |
same issue here I think we should re open it |
Is there no one to maintain it ? |
@DaftPaul @zhouxinxing Now please use |
Hello !
It looks like aliases are not correctly transformed in d.ts files.. All the JavaScript code is ok. It's just my d.ts files.
Here my vite config :
Is anyone has the same issue ?
The text was updated successfully, but these errors were encountered: