resolve @import
with path aliases
#16778
stefanprobst
started this conversation in
Ideas
Replies: 2 comments 1 reply
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Hey! So we don't take your TypeScript configuration into account at the moment. In Vite setups this should work if if you have the vite-tsconfig-paths plugin but in Next.js it's better to not use aliases for now. I converted this to a discussion for now since I can't make any guarantees wether we'll add this feature in the future. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Tailwind CSS are you using?
v4.0.8
What build tool (or framework if it abstracts the build tool) are you using?
Next.js canary
What version of Node.js are you using?
v22.14.0
What browser are you using?
Firefox
What operating system are you using?
Linux
Reproduction URL
https://github.com/stefanprobst/issue-tailwindcss-import-path-alias/blob/main/app/globals.css
Describe your issue
tailwind does not resolve
@import
's which use path aliases. for example:Beta Was this translation helpful? Give feedback.
All reactions