Skip to content

Commit 1e85a39

Browse files
fix(html): decide style emptiness and merging on the rendered CSS
removeEmptyElements, removeEmptyAttributes and mergeStyles judged a <style> or style attribute on its source, so one the renderer minified to nothing, or closed, only changed on a second pass. The async path prints again with the answers in hand when one overturns such a choice.
1 parent ec9d137 commit 1e85a39

16 files changed

Lines changed: 628 additions & 288 deletions

File tree

‎.changeset/036-end-of-input-output.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"webpack": patch
33
---
44

5-
Write `light-dark()` and input that ends mid-construct in the form a second pass keeps, dropping an HTML end tag cut off there.
5+
Write `light-dark()`, input ending mid-construct and inline CSS minified to nothing in the form a second pass keeps, dropping an HTML end tag cut off there.

0 commit comments

Comments
 (0)