Switch back to esbuild

This commit is contained in:
2026-03-24 18:28:56 +01:00
parent 976ff5fec9
commit 47c262392c
25 changed files with 315 additions and 153 deletions
+4 -1
View File
@@ -5,6 +5,8 @@ import bunextInit from "../../functions/bunext-init";
import grabDirNames from "../../utils/grab-dir-names";
import { rmSync } from "fs";
import allPagesBunBundler from "../../functions/bundler/all-pages-bun-bundler";
import allPagesESBuildContextBundler from "../../functions/bundler/all-pages-esbuild-context-bundler";
import serverPostBuildFn from "../../functions/server/server-post-build-fn";
const { HYDRATION_DST_DIR, BUNX_CWD_PAGES_REWRITE_DIR } = grabDirNames();
export default function () {
return new Command("dev")
@@ -18,7 +20,8 @@ export default function () {
}
catch (error) { }
await bunextInit();
await allPagesBunBundler();
// await allPagesBunBundler();
await allPagesESBuildContextBundler();
await startServer();
});
}