We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17972e5 commit 0b57d89Copy full SHA for 0b57d89
src/ci/check_bundle_size.ts
@@ -13,7 +13,7 @@ if (!OUT_DIR) {
13
const files = []
14
for await (const path of $`find ${OUT_DIR} -type f ! -name '*.map'`.lines()) {
15
if (!path) continue
16
- const size = Number((await $`stat -c %s ${path}`.quiet()).text().trim())
+ const size = Number((await $`cat ${path} | wc -c`.quiet()).text().trim())
17
const compressedSize = Number((await $`gzip -9c ${path} | wc -c`.quiet()).text().trim())
18
files.push({
19
path,
0 commit comments