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

Function postcss

lib/postcss.js:22–27  ·  view source on GitHub ↗
(...plugins)

Source from the content-addressed store, hash-verified

20let Warning = require('./warning')
21
22function postcss(...plugins) {
23 if (plugins.length === 1 && Array.isArray(plugins[0])) {
24 plugins = plugins[0]
25 }
26 return new Processor(plugins)
27}
28
29postcss.plugin = function plugin(name, initializer) {
30 let warningPrinted = false

Callers 12

postcss.jsFile · 0.85
processor.test.tsFile · 0.85
map.test.tsFile · 0.85
postcss.test.tsFile · 0.85
visitor.test.tsFile · 0.85
result.test.tsFile · 0.85
node.test.tsFile · 0.85
fromJSON.test.tsFile · 0.85
types.tsFile · 0.85
fuzz_parse.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…