Skip to content

Commit 256fcfc

Browse files
committed
proper bun build command
1 parent 7e135f7 commit 256fcfc

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ yarn-error.log*
3939
**/*.tgz
4040
**/*.log
4141
package-lock.json
42-
**/*.bun
42+
**/*.bun
43+
build

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"test": "bun test",
77
"gentypes": "bun run supabase gen types typescript --linked > src/lib/types/supabase.ts",
88
"dev": "bun run --watch src/index.ts",
9-
"build": "bun build src/index.ts --outdir build",
10-
"start": "NODE_ENV=production bun src/index.ts"
9+
"build": "bun build src/index.ts --outdir build --target=bun",
10+
"start": "NODE_ENV=production bun run build/index.js"
1111
},
1212
"dependencies": {
1313
"@elysiajs/server-timing": "^1.0.2",

supabase/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Supabase
22
.branches
3-
.temp
3+
.temp

0 commit comments

Comments
 (0)