From 0ba614355e6e70c498633d50187cac260fc311ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E4=BA=9A=E6=98=95?= <1549469775@qq.com> Date: Thu, 16 Oct 2025 18:28:32 +0800 Subject: [PATCH] fix: Update bundle command in package.json to include all files in dist directory - Modified the "bundle:exe" script to compile all files in the dist directory instead of just jobs, ensuring comprehensive bundling for the executable output. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3694e64..78168fb 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "start": "cd dist && cross-env NODE_ENV=production bun run booststap.js", "build:all": "cross-env NODE_ENV=production tsup --config tsup.config.ts", "build": "rimraf dist && bun run build:client && bun run build:all && node scripts/build.js", - "bundle:exe": "bun build --compile ./dist/booststap.js ./dist/jobs/**/* --minify --outfile ./dist/koa-ssr.exe", + "bundle:exe": "bun build --compile ./dist/booststap.js ./dist/**/* --minify --outfile ./dist/koa-ssr.exe", "build:exe": "bun run build && bun run bundle:exe", "tsc:booststap": "tsc packages/booststap/src/server.ts --outDir dist --module es2022 --target es2022 --lib es2022,dom --moduleResolution bundler --esModuleInterop --skipLibCheck --forceConsistentCasingInFileNames --noEmit false --incremental false", "tsc:server": "tsc packages/server/src/**/*.ts --outDir dist/server --module es2022 --target es2022 --lib es2022,dom --moduleResolution bundler --esModuleInterop --skipLibCheck --forceConsistentCasingInFileNames --noEmit false --incremental false"