You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#3509 adds the error recovery option, but since the CSS that tailwind generates is invalid it gets removed. The CLI no longer panics, so this is somewhat improved, but you may need to disable minification if the invalid styles for old versions of IE are important in your project
Problem
When using tailwind with daisyui plugin, tailwind generates css with constructs like
this is a * property hack, but
lightningcss
emits error in this case, and dioxus always callunwrap()
on parsing errorsdioxus/packages/cli-opt/src/css.rs
Line 37 in eb76d48
Steps To Reproduce
Steps to reproduce the behavior:
add plugin to
tailwind.config.js
:include tailwind.css itself:
dx serve # panic
Initially I include
tailwind.css
by mistake, but I think it shouldn't panicExpected behavior
No panic, app works
Screenshots
-
Environment:
Questionnaire
I would like to fix and I have a solution, but maybe a bit later
In parcel-bundler/lightningcss#765 suggested to enable
error_recovery
optionSimilar issue: #3310
The text was updated successfully, but these errors were encountered: