Skip to content

Commit

Permalink
Update AST if it is not made by PostCSS >= 8.4.41
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Sep 1, 2024
1 parent 0fda48a commit 79ff980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class Container extends Node {

let processed = nodes.map(i => {
/* c8 ignore next */
if (!i[my]) Container.rebuild(i)
if (!i[my] || !i.markClean) Container.rebuild(i)
i = i.proxyOf
if (i.parent) i.parent.removeChild(i)
if (i[isClean]) markTreeDirty(i)
Expand Down

0 comments on commit 79ff980

Please sign in to comment.