Skip to content

Commit b2ad62c

Browse files
committed
fix: correct tsconfig
1 parent 6effc54 commit b2ad62c

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

demos/default/tsconfig.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
{
2+
"extends": "../../tsconfig.json",
23
"compilerOptions": {
3-
"target": "es5",
4-
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
8-
],
9-
"allowJs": true,
10-
"skipLibCheck": true,
114
"strict": false,
12-
"forceConsistentCasingInFileNames": true,
135
"noEmit": true,
14-
"esModuleInterop": true,
15-
"module": "esnext",
6+
"incremental": true,
167
"moduleResolution": "node",
178
"resolveJsonModule": true,
189
"isolatedModules": true,
19-
"jsx": "preserve",
20-
"incremental": true
10+
"jsx": "preserve"
2111
},
2212
"include": [
2313
"next-env.d.ts",

plugin/tsconfig.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"outDir": "./lib" /* Redirect output structure to the directory. */,
4+
"outDir": "./lib" /* Redirect output structure to the directory. */,
55
},
6-
"include": ["src/**/*.ts", "src/**/*.js"],
7-
"exclude": ["src/templates/edge/*"]
6+
"include": [
7+
"src/**/*.ts",
8+
"src/**/*.js"
9+
],
10+
"exclude": [
11+
"src/templates/edge/*"
12+
]
813
}

0 commit comments

Comments
 (0)