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

Function buildCompressOptions

lib/index.js:41–49  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

39}
40
41function buildCompressOptions(options) {
42 options = { ...options };
43
44 if (typeof options.logger !== 'function' && options.debug) {
45 options.logger = createDefaultLogger(options.debug);
46 }
47
48 return options;
49}
50
51function runHandler(ast, options, handlers) {
52 if (!Array.isArray(handlers)) {

Callers 1

minifyFunction · 0.85

Calls 1

createDefaultLoggerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…