(item, res)
| 238 | return this.target === "MD" ? col : chalk.red(col); |
| 239 | } |
| 240 | getColumns(item, res) { |
| 241 | return [ |
| 242 | item.name, |
| 243 | bytes(item.output.length), |
| 244 | Math.round(100 - (100 * item.output.length) / res.input.length) + "%", |
| 245 | bytes(item.gzipped.length), |
| 246 | Math.round(100 - (100 * item.gzipped.length) / res.gzipped.length) + "%", |
| 247 | item.parseTime.toFixed(2), |
| 248 | item.time.toFixed(2) |
| 249 | ]; |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | class AssetsManager { |