breaking: gate 'styly!(const scope...' behind the const-scoping feature.\nFor some reason it did only become a problem recently, but it appears that having lightningcss/grass unconditionally will break WASM builds by having getrandom dependency

This commit is contained in:
yiffyrusdev 2025-05-08 19:42:06 +05:00 • committed by spushk
commit f3db6c1038
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -199,6 +199,7 @@ impl SabryLightTargets {
}
}
#[cfg(feature = "compile")]
impl From<SabryLightTargets> for lightningcss::targets::Browsers {
fn from(value: SabryLightTargets) -> Self {
Self {