-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot find module './$types' for routes with a leading dot like .well-known #7659
Comments
This may be an upstream TypeScript issue. There's a related and closed issue on the TS repo about that. The solution of adding the path with the dot in front doesn't work though in combination with |
Could |
yes, that indeed works (type-wise) |
The linked issue says you can work around it by explicitly adding dot-prefixed directories to the The alternative is probably to document the |
I tried that out but it doesn't seem to work in combination with rootdirs |
Describe the bug
For example a route like "/.well-known/change-password" (for password managers) will generate in the editor the error:
Reproduction
repo https://github.com/fcrozatier/kit_dot_routes
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: