From ef2ee3cf7a1249ff1947eb46dc4c3007789acc15 Mon Sep 17 00:00:00 2001 From: Arnaud Nelissen Date: Mon, 15 Jun 2026 15:52:22 +0200 Subject: [PATCH] fix(pwa): add turbopack config to silence next-pwa webpack warning next-pwa registers a webpack config; Next.js 16 requires turbopack: {} when a webpack config exists and no turbopack config is set. Co-Authored-By: Claude Sonnet 4.6 --- next.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.ts b/next.config.ts index 736af84..5100a23 100644 --- a/next.config.ts +++ b/next.config.ts @@ -25,6 +25,7 @@ const withPWA = withPWAInit({ const nextConfig: NextConfig = { output: "standalone", + turbopack: {}, }; export default withPWA(nextConfig);