Skip to content

Commit 79ff980

Browse files
committed
Update AST if it is not made by PostCSS >= 8.4.41
1 parent 0fda48a commit 79ff980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/container.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class Container extends Node {
210210

211211
let processed = nodes.map(i => {
212212
/* c8 ignore next */
213-
if (!i[my]) Container.rebuild(i)
213+
if (!i[my] || !i.markClean) Container.rebuild(i)
214214
i = i.proxyOf
215215
if (i.parent) i.parent.removeChild(i)
216216
if (i[isClean]) markTreeDirty(i)

0 commit comments

Comments
 (0)