Attempt to fix build issues in Docker
This commit is contained in:
parent
be821528cb
commit
8ffc999798
1 changed files with 0 additions and 15 deletions
|
|
@ -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);
|
|
||||||
});
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue