rm esbuild
Some checks failed
CI for GGS-CRON / build-docker (push) Failing after 1m11s
CI for GGS-CRON / build-and-test (push) Successful in 3m5s

This commit is contained in:
Ittipat Lusuk 2025-08-11 13:51:21 +07:00
parent c8b303e058
commit b633aeb9e5
3 changed files with 1 additions and 18 deletions

View file

@ -1,13 +0,0 @@
// build.js
const esbuild = require('esbuild');
esbuild.build({
entryPoints: ['./bin/www'],
bundle: true,
platform: 'node',
target: ['node20'],
outfile: 'dist/app.js',
// external: ['some-large-lib'],
sourcemap: false,
minify: true,
}).catch(() => process.exit(1));

3
package-lock.json generated
View file

@ -19,9 +19,6 @@
"node-cron": "^3.0.3",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"esbuild": "^0.25.8"
}
},
"node_modules/@colors/colors": {

View file

@ -3,8 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
"build": "node build.js",
"start": "node dist/app.js"
"start": "node ./bin/www"
},
"dependencies": {
"cookie-parser": "~1.4.4",