mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 00:18:19 +01:00
Include CLI in production builds
This commit is contained in:
parent
e4ed7ff2be
commit
1053972692
2
build.ts
2
build.ts
|
|
@ -17,7 +17,7 @@ await Bun.build({
|
|||
entrypoints: [
|
||||
process.cwd() + "/index.ts",
|
||||
process.cwd() + "/prisma.ts",
|
||||
// process.cwd() + "/cli.ts",
|
||||
process.cwd() + "/cli.ts",
|
||||
],
|
||||
outdir: process.cwd() + "/dist",
|
||||
target: "bun",
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
"prisma": "DATABASE_URL=$(bun run prisma.ts) bunx prisma",
|
||||
"generate": "bun prisma generate",
|
||||
"benchmark:timeline": "bun run benchmarks/timelines.ts",
|
||||
"cloc": "cloc . --exclude-dir node_modules",
|
||||
"cloc": "cloc . --exclude-dir node_modules,dist",
|
||||
"cli": "bun run cli.ts"
|
||||
},
|
||||
"trustedDependencies": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue