fix(build): exclude scripts/ from tsconfig to fix Vercel build
The gen-style-thumbs.ts script uses Bun-only APIs (import.meta.dir, Bun.write) which fail TypeScript checking under the project's Next.js tsconfig. Exclude the scripts directory from compilation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -51,6 +51,7 @@
|
||||
".next/dev/types/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
"node_modules",
|
||||
"scripts"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user