mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
feat: Add working building and bundling system
This commit is contained in:
parent
2333bbead9
commit
df47fa4750
6 changed files with 192 additions and 23 deletions
8
build.ts
Normal file
8
build.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
await Bun.build({
|
||||
entrypoints: ["./index.ts"],
|
||||
outdir: "./dist",
|
||||
target: "bun",
|
||||
splitting: true,
|
||||
minify: false,
|
||||
external: ["bullmq", "@prisma/client"],
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue