bracket-backend/build.ts

19 lines
379 B
TypeScript
Raw Permalink Normal View History

2025-02-07 20:24:16 +01:00
// @ts-expect-error bun build process
2025-02-07 12:47:58 +01:00
await Bun.build({
2025-02-07 14:54:10 +01:00
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,
},
2025-02-07 12:47:58 +01:00
});