Skip to content
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

Nesting plugin type error #12216

Closed
lxxorz opened this issue Oct 17, 2023 · 1 comment · Fixed by #12269
Closed

Nesting plugin type error #12216

lxxorz opened this issue Oct 17, 2023 · 1 comment · Fixed by #12269
Assignees

Comments

@lxxorz
Copy link

lxxorz commented Oct 17, 2023

What version of Tailwind CSS are you using?

v3.3.3

What build tool (or framework if it abstracts the build tool) are you using?

vite v4.4.11

What version of Node.js are you using?

v18.18.0

What browser are you using?

Chrome

What operating system are you using?

ubuntu 22.04(wsl)

Reproduction URL
https://stackblitz.com/edit/vitejs-vite-fnvtrj?file=vite.config.ts

Describe your issue
I encounter a type error ('Could not find a declaration file for module 'tailwindcss/nesting'.') when I import the nesting plugin in vite.config.ts.

image

@thecrypticace
Copy link
Contributor

Thanks for pointing this out — I've added the types in #12269 which will be in our next release. It'll be available in our insiders build in about 15 minutes or so:

npm install tailwindcss@insiders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants