Files
star-kitten/packages/lib/build.ts
2026-01-01 22:07:16 -05:00

10 lines
194 B
TypeScript

const bundle = await Bun.build({
entrypoints: ['./src/***.ts', '!./src/**/*.test.ts'],
outdir: 'dist',
minify: true,
});
if (!bundle.success) {
throw new AggregateError(bundle.logs);
}