Skip to content

Commit 3c73727

Browse files
committed
emit the gzip size in bytes after building lib
1 parent 68d0bac commit 3c73727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dist/**"
1717
],
1818
"scripts": {
19-
"build": "tsup && tsc -p tsconfig-build.json",
19+
"build": "tsup && tsc -p tsconfig-build.json && gzip -c dist/index.js | wc -c",
2020
"clean": "rm -rf dist",
2121
"dev": "tsup --watch && tsc -p tsconfig-build.json -w",
2222
"typecheck": "tsc --noEmit",

0 commit comments

Comments
 (0)