-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bug: daisyui doesn't compile with nextjs 15 #3319
Comments
Thank you @luluhoc
for reporting issues. It helps daisyUI a lot 💚
|
Reproduction URL please |
I've noticed that Turbopack, which Next.JS uses in v15 over Webpack to compile the 'dev' server (i.e. npm run dev), will not compile if it detects any invalid CSS. This helped me locate and fix some probably bad practices I was using (In my case combining tailwind and daisyUI classes that weren't intended to be combined). See Next.JS Turbopack for more info. But to quickly fix the issue, I was able to just remove |
What was the problematic style? |
I was using
For reference, here is the repo (Line 12 was where I used it): bathtaters/mtg-drafter |
😅🙈 I guess we can close this issue then. Good news is, starting with daisyUI 5 (coming soon) it will be possible to include or exclude every part of library and it gives us more control. It would be also beneficial for projects with existing styles to incrementally use daisyUI without getting conflicts from existing styles. |
What version of daisyUI are you using?
v4.12.22
Which browsers are you seeing the problem on?
All browsers
Reproduction URL
none
Describe your issue
The text was updated successfully, but these errors were encountered: