Skip to content

Commit ecd80a3

Browse files
refactor(css): split syntax into syntax-parser and syntax-printer
The CSS engine and its default printer now live in files of their own, with lib/css/syntax.js keeping the public surface: it loads both, binds SourceProcessor to them and re-exports what it always did. Module state the walk writes and the printer reads moved into one initialized object, so the two files share it without a stale copy; the streaming writer sits in a second one to keep CssPath out of its type. Dependencies run one way — printer to parser, facade to both.
1 parent e7911a5 commit ecd80a3

6 files changed

Lines changed: 19818 additions & 19277 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"webpack": patch
3+
---
4+
5+
Split the CSS syntax module into a parser file and a printer file.

‎AGENTS.md‎

Lines changed: 7 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)