Skip to content

Commit 059fb8c

Browse files
Run bun install in prebuild to install dependencies
prebuild is invoked when you run `bun run build` so this will install dependencies and make the build command work
1 parent b0028ee commit 059fb8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"dev": "vite --port 8000",
4747
"demo": "node demo/bin/demo.js",
4848
"demo:dev": "node demo/bin/demo.js --dev",
49+
"prebuild": "bun install",
4950
"build": "bun run clean && bun run build:wasm && bun run build:lib && bun run build:wasm-copy",
5051
"build:wasm": "./scripts/build-wasm.sh",
5152
"build:lib": "vite build",

0 commit comments

Comments
 (0)