dao-game / peerjs-browser-bug / files / tools / esbuild.ts
Branch peerjs-browser-bug · default branch · all branches
esbuild.ts
| 1 | import esbuild from 'esbuild'; |
| 2 | import { serveOptions, buildOptions, hostPort, clearOutDir } from './esbuild-settings' |
| 3 | |
| 4 | clearOutDir(); |
| 5 | |
| 6 | esbuild.build(buildOptions).catch(() => process.exit(1)) |