(block)
| 100 | } |
| 101 | |
| 102 | function wrapBlock(block) { |
| 103 | return new List().appendData({ |
| 104 | type: 'Rule', |
| 105 | loc: null, |
| 106 | prelude: { |
| 107 | type: 'SelectorList', |
| 108 | loc: null, |
| 109 | children: new List().appendData({ |
| 110 | type: 'Selector', |
| 111 | loc: null, |
| 112 | children: new List().appendData({ |
| 113 | type: 'TypeSelector', |
| 114 | loc: null, |
| 115 | name: 'x' |
| 116 | }) |
| 117 | }) |
| 118 | }, |
| 119 | block |
| 120 | }); |
| 121 | } |
| 122 | |
| 123 | export default function compress(ast, options) { |
| 124 | ast = ast || { type: 'StyleSheet', loc: null, children: new List() }; |
no outgoing calls
no test coverage detected
searching dependent graphs…