Skip to content

Commit

Permalink
Follow recommended bun docs for build command
Browse files Browse the repository at this point in the history
  • Loading branch information
aliofye committed Jan 15, 2025
1 parent 7392934 commit aae1c31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packages/api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,7 @@ dist
.idea

# Finder (MacOS) folder config
.DS_Store
.DS_Store

# Bun
*.bun-build
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"start": "./dist/app",
"dev": "bun --hot src/app.ts",
"build": "bun build --compile src/app.ts --outfile dist/app",
"build": "bun build --compile --minify --sourcemap --bytecode src/app.ts --outfile dist/app",
"compile": "tsc -b --noEmit && tsc-alias",
"test": "DATABASE_URL=$TEST_DATABASE_URL sh -c \"bun run db:migrate && bun test\"",
"test:watch": "DATABASE_URL=$TEST_DATABASE_URL sh -c \"bun run db:migrate && bun test --watch\"",
Expand Down

0 comments on commit aae1c31

Please sign in to comment.