Currently, esbuild does not simplify constant calc() expressions in CSS when --minify-syntax is enabled. All…
Currently, esbuild does not simplify constant calc() expressions in CSS when --minify-syntax is enabled. All…: a task in LegoFlow-SWE (Harbor dataset). Input (any CSS file): css div { width: calc(60px 4 - 5px 2); height: calc(100% / 4); } div { width: calc(100% / 5 - 2 1em - 2 1px); }
The task
**Input** (any CSS file): ```css div { width: calc(60px * 4 - 5px * 2); height: calc(100% / 4); } div { width: calc(100% / 5 - 2 * 1em - 2 * 1px); } ```
Part of Lego-X/LegoFlow-SWE.