Skip to content

Commit f0a37d3

Browse files
set turbopack root
1 parent 8f55329 commit f0a37d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

next.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import type { NextConfig } from "next";
2+
import path from "path";
23

34
const nextConfig: NextConfig = {
4-
/* config options here */
5+
turbopack: {
6+
root: path.join(__dirname, "./"),
7+
},
58
};
69

710
export default nextConfig;

0 commit comments

Comments
 (0)