From af9c3166b4e541f4bd8fce4c733b08bb78e013ed Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 27 Nov 2025 12:17:14 -0300 Subject: [PATCH] fix: desabilitar Turbopack via next.config.ts --- frontend/next.config.ts | 6 ++++++ frontend/package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/next.config.ts b/frontend/next.config.ts index f4b5e4d..34703c7 100644 --- a/frontend/next.config.ts +++ b/frontend/next.config.ts @@ -11,6 +11,12 @@ const nextConfig: NextConfig = { typescript: { ignoreBuildErrors: true, }, + // Desabilitar Turbopack no build (bug com middleware + standalone) + experimental: { + turbo: { + enabled: false, + }, + }, }; export default nextConfig; diff --git a/frontend/package.json b/frontend/package.json index 48e2e32..7b42a55 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "next dev --turbopack", - "build": "next build --no-turbopack", + "build": "next build", "start": "next start", "lint": "eslint" },