Skip to content

Commit a86e108

Browse files
Ensure size scripts build packages first
The size-limit tool only measures files, it doesn't build them. Update the size scripts to run build before measuring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 554273d commit a86e108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
"eslint": "eslint",
8787
"attw": "attw",
8888
"publint": "publint",
89-
"size": "size-limit",
90-
"size:json": "size-limit --json",
89+
"size": "pnpm run build && size-limit",
90+
"size:json": "pnpm run build && size-limit --json",
9191
"postinstall": "test -f .lefthook.yml && test -d .git && command -v bundle >/dev/null 2>&1 && bundle exec lefthook install || true"
9292
},
9393
"repository": {

0 commit comments

Comments
 (0)