From 4655f67a9ea0f6ded1f609b70c41601f9c26b2dc Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Wed, 19 Nov 2025 20:23:04 +0100 Subject: [PATCH] web: set turbopack root --- web/next.config.mjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/next.config.mjs b/web/next.config.mjs index a58219c..ca45e9d 100644 --- a/web/next.config.mjs +++ b/web/next.config.mjs @@ -1,4 +1,8 @@ /** @type {import('next').NextConfig} */ +import path from "path"; +import { fileURLToPath } from "url"; +const __dirname = path.dirname(fileURLToPath(import.meta.url)); + const nextConfig = { output: "standalone", images: { @@ -13,6 +17,9 @@ const nextConfig = { }, ], }, + turbopack: { + root: __dirname, + }, }; export default nextConfig;