Update init function
This commit is contained in:
Vendored
-4
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user