Skip to content

Commit 35c795b

Browse files
committed
Update build config
1 parent be68718 commit 35c795b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ const nextConfig = {
1919
eslint: {
2020
ignoreDuringBuilds: true, // ✅ This prevents ESLint errors from failing `next build`
2121
},
22+
typescript: {
23+
tsconfigPath: "./tsconfig.build.json",
24+
},
2225

2326
webpack(config, { isServer }) {
2427
config.module.rules.push({

tsconfig.build.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@
99
"postcss.config.js",
1010
"next-sitemap.config.js",
1111
],
12+
"exclude": [
13+
"jest.config.ts",
14+
"jest.setup.ts",
15+
]
1216
}

0 commit comments

Comments
 (0)