MCPcopy
hub / github.com/postcss/postcss / cleanSource

Function cleanSource

lib/container.js:10–16  ·  view source on GitHub ↗
(nodes)

Source from the content-addressed store, hash-verified

8let AtRule, parse, Root, Rule
9
10function cleanSource(nodes) {
11 return nodes.map(i => {
12 if (i.nodes) i.nodes = cleanSource(i.nodes)
13 delete i.source
14 return i
15 })
16}
17
18function markTreeDirty(node) {
19 node[isClean] = false

Callers 1

normalizeMethod · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…