Attempt to fix build issues in Docker

This commit is contained in:
Caileb 2025-05-29 16:05:54 -05:00
parent be821528cb
commit 8ffc999798

View file

@ -1,15 +0,0 @@
import { build } from 'esbuild';
build({
entryPoints: ['index.js'],
bundle: true,
platform: 'node',
target: 'node18',
outfile: 'dist/index.js',
minify: true,
legalComments: 'none',
drop: ['console', 'debugger'],
}).catch((e) => {
console.error('esbuild failed:', e);
process.exit(1);
});