web: set turbopack root
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user