We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b46b7a commit 2070709Copy full SHA for 2070709
script/bundle-size-report.js
@@ -3,7 +3,7 @@ import { join } from 'path'
3
import { table } from 'table'
4
import { dirname } from 'path'
5
import { fileURLToPath } from 'url'
6
-import filesize from 'filesize'
+import {filesize} from 'filesize'
7
import fs from 'fs'
8
9
const __dirname = dirname(fileURLToPath(import.meta.url))
@@ -113,6 +113,7 @@ const posNeg = v => (v > 0 ? '+ ' : v < 0 ? '- ' : '')
113
114
// Beautify the data
115
data = data.map(row => {
116
+ console.log(row)
117
row[2] = posNeg(row[2]) + `${row[2]}`.replace('-', '')
118
row[3] = prettySize(row[3])
119
row[4] = posNeg(row[4]) + `${prettySize(row[4])}`.replace('-', '')
0 commit comments