Skip to content

Commit

Permalink
clients/web: fix report-bundle-size script
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Feb 6, 2025
1 parent 0191a1a commit 507b5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/apps/web/report-bundle-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function getScriptSize(scriptPath) {
} else {
const textContent = fs.readFileSync(p, encoding)
rawSize = Buffer.byteLength(textContent, encoding)
gzipSize = gzSize.sync(textContent)
gzipSize = gzSize.gzipSizeSync(textContent)
memoryCache[p] = [rawSize, gzipSize]
}

Expand Down

0 comments on commit 507b5a5

Please sign in to comment.