Fix Turbopack NFT warning
- Remove import.meta.dirname from turbopack config (unnecessary filesystem op) - Add /*turbopackIgnore: true*/ to 3 path.join calls in upload-import.ts that were missing the comment, causing Turbopack to trace the whole project unintentionally
This commit is contained in:
1 parent
f6ee99801d
commit
a9f1f4f99d
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -20,7 +20,7 @@ const securityHeaders = [
|
||||
];
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
turbopack: { root: import.meta.dirname },
|
||||
turbopack: {},
|
||||
serverExternalPackages: [
|
||||
"@prisma/adapter-mariadb",
|
||||
"mariadb",
|
||||
|
||||
Reference in new issue
Block a user