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

css data-slot=icon The writing may be unreasonable #860

Open
mtrucc opened this issue Dec 19, 2024 · 4 comments
Open

css data-slot=icon The writing may be unreasonable #860

mtrucc opened this issue Dec 19, 2024 · 4 comments

Comments

@mtrucc
Copy link

mtrucc commented Dec 19, 2024

[vite] warnings when minifying css:

▲ [WARNING] Unexpected "=" [css-syntax-error]

    <stdin>:6739:38:
      6739 │ .\[\&_data-slot\=icon\]\:h-5 data-slot=icon {
           ╵                                       ^


▲ [WARNING] Unexpected "=" [css-syntax-error]

    <stdin>:6743:38:
      6743 │ .\[\&_data-slot\=icon\]\:w-5 data-slot=icon {
           ╵                                       ^


▲ [WARNING] Unexpected "=" [css-syntax-error]

    <stdin>:6747:49:
      6747 │ .\[\&_data-slot\=icon\]\:cursor-pointer data-slot=icon {
           ╵                                                  ^


▲ [WARNING] Unexpected "=" [css-syntax-error]

    <stdin>:6751:47:
      6751 │ .\[\&_data-slot\=icon\]\:text-inherit data-slot=icon {
           ╵                                                ^


▲ [WARNING] Unexpected "=" [css-syntax-error]

    <stdin>:6755:61:
      6755 │ ...slot\=placeholder\]\:text-foreground\/60 data-slot=placeholder {
image
@pbcitjugel
Copy link

I have the same issue. What is the workaround?

@NJugel
Copy link

NJugel commented Jan 1, 2025

Same Issue with NextJS.
Does anyone know how to handle with that?
Bildschirmfoto 2025-01-01 um 16 48 07

@devmangel
Copy link

devmangel commented Jan 6, 2025

Same issue here!

image

@NJugel
Copy link

NJugel commented Jan 6, 2025

Same issue here!

image

I think it has something to do with Turbopack. It works with Webpack.

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

No branches or pull requests

4 participants