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 · 1 comment
Open

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

mtrucc opened this issue Dec 19, 2024 · 1 comment

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?

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

2 participants