Skip to content

Commit 36490ea

Browse files
Oreolionclaude
andcommitted
Exclude mobile/ from Next.js typecheck and ESLint
The mobile/ directory (Expo project) was being included in the Next.js build and ESLint on Vercel, causing build failures due to missing Expo dependencies. Add mobile/ to tsconfig exclude and eslint ignores. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7ee3cb1 commit 36490ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const eslintConfig = [
2121
"typechain-types/**",
2222
"skills/**",
2323
"cre/**",
24+
"mobile/**",
2425
],
2526
},
2627
{

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
},
2626
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next.config.mjs"],
27-
"exclude": ["node_modules", "skills", "cre"],
27+
"exclude": ["node_modules", "skills", "cre", "mobile"],
2828
"ts-node": {
2929
"compilerOptions": {
3030
"module": "commonjs",

0 commit comments

Comments
 (0)