Skip to content

Commit 5718912

Browse files
Made static tsconfig standalone in order to exclude server components.
1 parent 33c3068 commit 5718912

1 file changed

Lines changed: 40 additions & 1 deletion

File tree

tsconfig.static.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,46 @@
11
{
2-
"extends": "./tsconfig.json",
2+
"compilerOptions": {
3+
"lib": [
4+
"dom",
5+
"dom.iterable",
6+
"esnext"
7+
],
8+
"noUnusedLocals": false,
9+
"noUnusedParameters": false,
10+
"strict": false,
11+
"allowJs": true,
12+
"skipLibCheck": true,
13+
"noEmit": true,
14+
"esModuleInterop": true,
15+
"module": "esnext",
16+
"moduleResolution": "bundler",
17+
"resolveJsonModule": true,
18+
"isolatedModules": true,
19+
"jsx": "preserve",
20+
"incremental": true,
21+
"plugins": [
22+
{
23+
"name": "next"
24+
}
25+
],
26+
"paths": {
27+
"@/*": [
28+
"./src/*"
29+
]
30+
},
31+
"target": "ES2017"
32+
},
333
"exclude": [
434
"node_modules",
535
"src/server"
36+
],
37+
"include": [
38+
"next-env.d.ts",
39+
"src/app/**/*.ts",
40+
"src/app/**/*.tsx",
41+
"src/components/**/*.ts",
42+
"src/components/**/*.tsx",
43+
"src/assets/**/*.ts",
44+
"src/assets/**/*.tsx"
645
]
746
}

0 commit comments

Comments
 (0)