🔨 run next server with turbopack (easy win)

This commit is contained in:
Fred KISSIE
2025-10-22 00:17:42 +02:00
parent e77909d498
commit 3633e02ff7

View File

@@ -9,7 +9,7 @@ const nextPort = config.getRawConfig().server.next_port;
export async function createNextServer() {
// const app = next({ dev });
const app = next({ dev: process.env.ENVIRONMENT !== "prod" });
const app = next({ dev: process.env.ENVIRONMENT !== "prod", turbopack: true });
const handle = app.getRequestHandler();
await app.prepare();