Files
graff.estate-backend/bun.config.ts
T
2025-02-27 10:40:29 +05:00

9 lines
238 B
TypeScript

import { Glob } from 'bun';
for (const entrypoint of new Glob('src/**/*.ts').scanSync())
await Bun.build({
entrypoints: [entrypoint],
target: 'bun',
outdir: './dist/' + entrypoint.split('\\').slice(1, -1).join('\\'),
});