Skip to content

Commit 382118d

Browse files
committed
move tsconfig.json back down as next.js requires one with the source code
1 parent 7f536c7 commit 382118d

File tree

2 files changed

+15
-50
lines changed

2 files changed

+15
-50
lines changed

src/ui/tsconfig.json

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,27 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2017",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
93
"allowJs": true,
10-
"skipLibCheck": true,
11-
"strict": false,
12-
"noEmit": true,
13-
"incremental": true,
14-
"module": "esnext",
154
"esModuleInterop": true,
16-
"moduleResolution": "node",
17-
"resolveJsonModule": true,
5+
"incremental": true,
186
"isolatedModules": true,
197
"jsx": "preserve",
8+
"lib": ["dom", "dom.iterable", "esnext"],
9+
"module": "esnext",
10+
"moduleResolution": "bundler",
11+
"noEmit": true,
2012
"plugins": [
2113
{
2214
"name": "next"
2315
}
24-
]
16+
],
17+
"paths": {
18+
"@/*": ["./src/*"]
19+
},
20+
"resolveJsonModule": true,
21+
"skipLibCheck": true,
22+
"strict": true,
23+
"target": "ES2022"
2524
},
26-
"include": [
27-
"next-env.d.ts",
28-
".next/types/**/*.ts",
29-
"**/*.ts",
30-
"**/*.tsx"
31-
],
32-
"exclude": [
33-
"node_modules"
34-
]
25+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
26+
"exclude": ["node_modules"]
3527
}

tsconfig.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)