Skip to content

Commit 0deefa4

Browse files
committed
chore(next.js): update next.config.js for next.js 16,x
1 parent 01233f2 commit 0deefa4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/types/routes.d.ts";
3+
import "./.next/dev/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

next.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ module.exports = {
4848
// FIXME: delete this option after versionup
4949
silenceDeprecations: ["legacy-js-api"]
5050
},
51+
turbopack: {
52+
root: __dirname
53+
},
5154
experimental: {
5255
scrollRestoration: true
5356
// optimizePackageImports: ['<packageName>'],
5457
},
55-
eslint: {
56-
ignoreDuringBuilds: true
57-
},
5858
typescript: {
5959
ignoreBuildErrors: true
6060
},

0 commit comments

Comments
 (0)