16 lines
258 B
TypeScript
16 lines
258 B
TypeScript
import { build } from 'bun';
|
|
|
|
await build({
|
|
entrypoints: ['./index.ts'],
|
|
outdir: './dist',
|
|
target: 'node',
|
|
format: 'esm',
|
|
naming: {
|
|
entry: 'app.js',
|
|
},
|
|
minify: false,
|
|
sourcemap: false,
|
|
});
|
|
|
|
console.log('✅ Build complete: dist/app.js');
|