mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 11:16:37 +00:00
🔨 run next server with turbopack (easy win)
This commit is contained in:
@@ -9,7 +9,7 @@ const nextPort = config.getRawConfig().server.next_port;
|
|||||||
|
|
||||||
export async function createNextServer() {
|
export async function createNextServer() {
|
||||||
// const app = next({ dev });
|
// 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();
|
const handle = app.getRequestHandler();
|
||||||
|
|
||||||
await app.prepare();
|
await app.prepare();
|
||||||
|
|||||||
Reference in New Issue
Block a user