next-css-obfuscator icon indicating copy to clipboard operation
next-css-obfuscator copied to clipboard

DaisyUI compatibility?

Open Gusb3ll opened this issue 4 months ago • 4 comments

Checklist

  1. [X] Read all documentation
  2. [X] No related request
  3. [X] Meaningful issue title

Is your feature request related to a problem? Please describe. I wanted to use this with daisyUi which is kinda works, but it's not obfuscating my TailwindCSS classes anymore

conversion.json without daisy (Tailwindcss only)

{
  ".z-10": ".g7htt",
  ".-mb-5": ".g4spw",
  ".-mt-2": ".glorw",
  ".ml-5": ".gavoa",
.
.
.

conversion.json with daisy (Tailwindcss w/ daisyUI imported)

{
  ".label": ".ae4d0",
  ".label a:hover": ".ae4d0 a:hover",
  ".btn": ".afqnw",
  ".btn-disabled": ".aeavt",
.
.
.

Describe the solution you'd like It should obfuscate all the classes included both the Tailwind classes and DaisyUI classes

Describe alternatives you've considered I've tried build with Tailwind only (without importing daisy) and with Daisy imported after that, and it's able to obfus all the classes but its result in the css just became broken (invalid layout, font, etc...)

Gusb3ll avatar Sep 28 '24 22:09 Gusb3ll