bracket-backend/build.ts

19 lines
399 B
TypeScript
Raw Normal View History

2025-02-07 12:47:58 +01:00
// @ts-ignore
await Bun.build({
entrypoints: ["./src/app.ts"],
format: "esm",
outdir: "./dist",
target: "node",
external: [
"@nestjs/websockets/socket-module",
"@nestjs/microservices",
"class-transformer/storage",
"@fastify/view",
"@nestjs/platform-express",
],
minify: {
whitespace: true,
syntax: true,
},
});