web: set turbopack root

This commit is contained in:
2025-11-19 20:23:04 +01:00
parent 8506fd1c2d
commit 4655f67a9e

View File

@@ -1,4 +1,8 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
import path from "path";
import { fileURLToPath } from "url";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const nextConfig = { const nextConfig = {
output: "standalone", output: "standalone",
images: { images: {
@@ -13,6 +17,9 @@ const nextConfig = {
}, },
], ],
}, },
turbopack: {
root: __dirname,
},
}; };
export default nextConfig; export default nextConfig;