update deps

This commit is contained in:
Rich Harris
2019-01-30 10:21:43 -05:00
parent 14fc6b3176
commit c00af6dad0
4 changed files with 71 additions and 51 deletions

View File

@@ -53,7 +53,7 @@ export default class RollupResult implements CompileResult {
}
this.summary = compiler.chunks.map(chunk => {
const size_color = chunk.code.length > 150000 ? colors.bold.red : chunk.code.length > 50000 ? colors.bold.yellow : colors.bold.white;
const size_color = chunk.code.length > 150000 ? colors.bold().red : chunk.code.length > 50000 ? colors.bold().yellow : colors.bold().white;
const size_label = left_pad(pb(chunk.code.length), 10);
const lines = [size_color(`${size_label} ${chunk.fileName}`)];