-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Paths are not getting changed at all #121
Comments
Couple things to maybe check:
|
Also wondering if importing stuff from the |
@fvsch In this case I am not trying to import anything from the public folder and not an SVG. I'm trying to import a React component. I also tried it with |
This might be a Windows issue. Run Vite with |
This command doesn't return any logs anymore. |
You might need to ask the |
I don't think they have any. Can't find anything about it. |
Oh my bad, you need to do |
|
This comment was marked as spam.
This comment was marked as spam.
Having the same issue here. When checking the debug logs, it looks like exactly the items that match
And eventually the same imports are not resolved/found:
Seeing the same in the other debug log above. The Then I found the In my local {
"extends": "./some/path/far/away/tsconfig-base.json",
"compilerOptions": {
"paths": {
"@/*": ["./src/*"]
}
}
} And that {
"include": ["../../../src/**/*.ts"]
} I believe the issue is that ( When I override the |
In my case it works with pnpm and doesn't work with npm\bun
|
Probably fixed by #157 (available in v5.1.0). If you're still experiencing issues on Windows, please open a new issue. |
I tried for over 3 hours to find what I am missing but I can't find any mistake, however, none of my paths is being changed by the plugin.
Debug is not outputting anything useful despite the fact that it loads the configs correctly.
Error:
vite.config.ts:
tsconfig.json:
The text was updated successfully, but these errors were encountered: