question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with tailwindcss

See original GitHub issue

Environment

  • clean-css version - npm ls clean-css: 5.2.0
  • node.js version - node -v: v14.17.0
  • operating system: Ubuntu 20

Configuration options

CLI:

cleancss -O2 --format minify

Input CSS

.test {--tw-blur: var(--tw-empty,/*!*/ /*!*/);}

Actual output CSS

.test{--tw-blur: var(--tw-empty,);/*!*//*!*/}

Expected output CSS

.test {--tw-blur: var(--tw-empty,/*!*/ /*!*/);}

I thought the latest PR should have fixed it but it seems to have the same issue.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
jakubpawlowiczcommented, Jan 26, 2022

@crswll you may be using an older version of clean-css as it’s working fine in the latest one (5.2.2), please check on https://clean-css.github.io/

1reaction
jakubpawlowiczcommented, Sep 27, 2021

Hey @yellow1912 - it’s actually a different issue as clean-css pulls comments out of variables.

We need another fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · tailwindlabs/tailwindcss - GitHub
A utility-first CSS framework for rapid UI development. - Issues · tailwindlabs/tailwindcss.
Read more >
Issue with Tailwind CSS | WordPress.org
Tailwind CSS is a framework which allows you do use classes with prefixes when dealing with responsive designs – https://tailwindcss.com/docs/responsive- ...
Read more >
What is TailwindCSS and what problems does this new CSS ...
In this tutorial, we'll learn what is the problem with component-based styling and why we need utility-based styles.
Read more >
Tailwindcss Suggestions not working in react-app : WEB-48464
It worked, I found how to config the project correctly with tailwindcss and everything is ok. Thank you, issue can be closed.
Read more >
Tailwind CSS classes is not working in my project?
This error is due to tailwind not finding any classes to scan in what it 'thinks' is your HTML code directories.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found