cschroeter / park-ui

Beautifully designed components built on Ark UI that work for the JS and CSS frameworks of your choice.
https://park-ui.com
MIT License
1.47k stars 59 forks source link

park-ui incompatible with next-css-obfuscator, causing syntax errors #336

Open jac00000b opened 1 month ago

jac00000b commented 1 month ago

I'm experiencing an issue when using park-ui with next-css-obfuscator. The CSS generated by park-ui throws syntax errors during the build process with next-css-obfuscator. This makes it impossible to use both packages together in a Next.js project.

Steps to Reproduce:

  1. Set up a new Next.js project.
  2. Install park-ui and next-css-obfuscator.
  3. Import and use any component from park-ui.
  4. Build app
  5. Attempt to obfuscate css with next-css-obfuscator.

Expected Behavior: The project should build successfully without syntax errors.

Actual Behavior: The build fails with syntax errors related to the CSS generated by park-ui.