rage-framework/server/build.js

10 lines
214 B
JavaScript
Raw Normal View History

2024-06-10 00:53:42 +00:00
import { build } from 'esbuild'
build({
entryPoints: ['./src/index.ts'],
format: 'esm',
platform: 'node',
target: 'node10.4',
outdir: './dist',
}).then(r => console.log('Successfully build.'))