mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
aef8b4acce
Follow up on #26469 for CSS. Updated `oxc-css-parser` to `v0.0.15`. --- - Keep parens for `calc((a + b))` by adding `CalcParenthesized` AST - Do not follow JS formatter approach (remove all, then add back), only works for CSS, not for SCSS/Less - Fix Less operand spacing: `2em*1em` -> `2em * 1em` - Rework `@import` prelude fill - Leave glued `and(` and `when(` as-is - `@media screen and (max-width:1280px) { }` and `@media screen and(max-width:1280px) { }` is different - We do not alter behavior - Format `LessMixinDefinition` and `LessConditionalQualifiedRule` - We still have a room to go better than Prettier here, but keep for now