(options)
| 39 | } |
| 40 | |
| 41 | function 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 | |
| 51 | function runHandler(ast, options, handlers) { |
| 52 | if (!Array.isArray(handlers)) { |
no test coverage detected
searching dependent graphs…