stylify / packages

💎 Monorepository for Stylify packages. Stylify uses CSS-like selectors to generate Extremely optimized utility-first CSS dynamically based on what you write 💎.
https://stylifycss.com
MIT License
424 stars 9 forks source link

Astro plugin hangs when using CSS unicode escapes #233

Closed MilesPernicious closed 4 months ago

MilesPernicious commented 1 year ago

Describe the bug

<q class="[&::before]{content:^---^}">This works in the runtime and in @stylify/astro</q>

<q class="[&::before]{content:^\2013^}">This works only in the runtime</q>

I haven't tested with other JS frameworks so it is possible it works with them.

Reproduction

See above ^

Logs

No response

System Info

Using @stylify/astro 0.5.31
Machy8 commented 1 year ago

Hi, thanks for the report! I will check it out.

Machy8 commented 1 year ago

@MilesPernicious Related to https://github.com/withastro/compiler/issues/778.

I Have to wait on their response. Stylify generates everything correctly and after that, the bundler waits on another signal. This seems to be caused by a bug in Astro, because it can be reproduced even without Stylify integration on Stackblitz.

Machy8 commented 1 year ago

Confirmed, it is a bug on their side. I will keep this open in case someone else encounters the same issue and close it after they fix it.