MCPcopy
hub / github.com/css/csso / runHandler

Function runHandler

lib/index.js:51–57  ·  view source on GitHub ↗
(ast, options, handlers)

Source from the content-addressed store, hash-verified

49}
50
51function runHandler(ast, options, handlers) {
52 if (!Array.isArray(handlers)) {
53 handlers = [handlers];
54 }
55
56 handlers.forEach(fn => fn(ast, options));
57}
58
59function minify(context, source, options) {
60 options = options || {};

Callers 1

minifyFunction · 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…