Update init function

This commit is contained in:
2026-04-04 19:35:14 +01:00
parent 7dbd1f7e12
commit 48c25d2fb4
9 changed files with 15 additions and 20 deletions
-4
View File
@@ -2,8 +2,6 @@ import { Command } from "commander";
import startServer from "../../functions/server/start-server";
import { log } from "../../utils/log";
import bunextInit from "../../functions/bunext-init";
import allPagesBunBundler from "../../functions/bundler/all-pages-bun-bundler";
import allPagesESBuildContextBundler from "../../functions/bundler/all-pages-esbuild-context-bundler";
export default function () {
return new Command("start")
.description("Start production server")
@@ -11,8 +9,6 @@ export default function () {
process.env.NODE_ENV = "production";
log.info("Starting production server ...");
await bunextInit();
// await allPagesBunBundler();
await allPagesESBuildContextBundler();
await startServer();
});
}