swc/crates/swc_css_codegen/tests/fixture/declaration/custom-properties/output.css
Alexander Akait 30c29a30cf
feat(css): Improve codegen where minify: true (#3414)
swc_css_codegen:
 - Improve minification.

swc_css_parser:
 - Add parsing rule for `sum`.
2022-02-01 12:30:44 +00:00

9 lines
137 B
CSS

div {--y: ;
--x: var(--y) ;
--z: 0px;
--foo: if(x > 5) this.width = 10;
--bar: ;
--bar2: ;
--yz: foo !important}
div {width: var(--a,)}