* @param {EvalContext} context * @returns {string}
(context)
| 134 | * @returns {string} |
| 135 | */ |
| 136 | toCSS(context) { |
| 137 | /** @type {string[]} */ |
| 138 | const strs = []; |
| 139 | this.genCSS(context, { |
| 140 | add: function(chunk, fileInfo, index) { |
| 141 | strs.push(chunk); |
| 142 | }, |
| 143 | isEmpty: function () { |
| 144 | return strs.length === 0; |
| 145 | } |
| 146 | }); |
| 147 | return strs.join(''); |
| 148 | } |
| 149 | |
| 150 | /** |
| 151 | * @param {EvalContext} context |
no test coverage detected