diff --git a/viewer/next.config.ts b/viewer/next.config.ts index 35ad4e6..38db2dc 100644 --- a/viewer/next.config.ts +++ b/viewer/next.config.ts @@ -1,10 +1,11 @@ import type { NextConfig } from "next"; +import path from "path"; const nextConfig: NextConfig = { reactCompiler: true, basePath: '/viewer', turbopack: { - root: __dirname, + root: path.resolve(__dirname, '..'), }, };