rage-framework/server/build.js
Oleksandr Honcharov 5064fb6347 refactor
2024-06-10 17:28:22 +03:00

11 lines
232 B
JavaScript

import { build } from 'esbuild'
build({
entryPoints: ['./src/index.ts'],
bundle: true,
format: 'cjs',
platform: 'node',
target: 'node10.4',
outdir: './dist',
}).then(r => console.log('Successfully build.'))