Skip to content

Commit ccc074d

Browse files
committed
fix: update tsconfig moduleResolution
1 parent f3906fc commit ccc074d

File tree

1 file changed

+7
-24
lines changed

1 file changed

+7
-24
lines changed

tsconfig.json

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,30 @@
22
"compilerOptions": {
33
"baseUrl": ".",
44
"target": "ESNext",
5-
"lib": [
6-
"dom",
7-
"dom.iterable",
8-
"esnext"
9-
],
5+
"lib": ["dom", "dom.iterable", "esnext"],
106
"allowJs": true,
117
"skipLibCheck": true,
128
"strict": true,
139
"forceConsistentCasingInFileNames": true,
1410
"noEmit": true,
1511
"esModuleInterop": true,
1612
"module": "esnext",
17-
"moduleResolution": "node",
13+
"moduleResolution": "bundler",
1814
"resolveJsonModule": true,
1915
"isolatedModules": true,
2016
"jsx": "preserve",
2117
"incremental": true,
2218
"paths": {
23-
"@/*": [
24-
"./*"
25-
],
26-
"@/components/*": [
27-
"./app/components/*"
28-
],
29-
"@/utils/*": [
30-
"./app/utils/*"
31-
]
19+
"@/*": ["./*"],
20+
"@/components/*": ["./app/components/*"],
21+
"@/utils/*": ["./app/utils/*"]
3222
},
3323
"plugins": [
3424
{
3525
"name": "next"
3626
}
3727
]
3828
},
39-
"include": [
40-
"next-env.d.ts",
41-
"**/*.ts",
42-
"**/*.tsx",
43-
".next/types/**/*.ts"
44-
],
45-
"exclude": [
46-
"node_modules"
47-
]
29+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
30+
"exclude": ["node_modules"]
4831
}

0 commit comments

Comments
 (0)