Skip to content

prevent Maximum call stack size exceeded for document#2065

Closed
romainmenke wants to merge 1 commit intopostcss:mainfrom
romainmenke:prevent-maximum-call-size-exceeded-for-document--frank-turkey-d3f48da227
Closed

prevent Maximum call stack size exceeded for document#2065
romainmenke wants to merge 1 commit intopostcss:mainfrom
romainmenke:prevent-maximum-call-size-exceeded-for-document--frank-turkey-d3f48da227

Conversation

@romainmenke
Copy link
Contributor

See:

postcss-html adds a reference to document on root nodes.
This isn't totally unreasonable even if it isn't part of the PostCSS API.

Unfortunately this makes the references circular and breaks JSON serialization.

We could catch this here, in postcss.


But also totally fine with me to close this without change.
It is a downstream issue in postcss-html.

@romainmenke
Copy link
Contributor Author

romainmenke commented Jan 13, 2026

Has been fixed downstream 🎉

@romainmenke romainmenke deleted the prevent-maximum-call-size-exceeded-for-document--frank-turkey-d3f48da227 branch January 13, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant