Skip to content

Commit 0075eb3

Browse files
committed
fix(build): use npx tsup so Vercel can resolve the binary
Vercel's shell PATH doesn't include node_modules/.bin when running workspace scripts via --prefix. Using npx explicitly resolves the binary.
1 parent b047e1f commit 0075eb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"scripts": {
1919
"dev": "npm run dev --prefix frontend",
20-
"build": "tsup src/lib/index.ts --format cjs --format esm --dts",
20+
"build": "npx tsup src/lib/index.ts --format cjs --format esm --dts",
2121
"test": "vitest run tests/",
2222
"test:hardhat": "npx hardhat test",
2323
"server": "npx tsx src/server/index.ts",

0 commit comments

Comments
 (0)