Skip to content

Commit c7907fa

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

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

demos/default/tsconfig.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
{
2+
"extends": "../../tsconfig.json",
23
"compilerOptions": {
3-
"target": "es5",
44
"lib": [
5-
"dom",
6-
"dom.iterable",
7-
"esnext"
5+
"es2019",
6+
"dom"
87
],
9-
"allowJs": true,
10-
"skipLibCheck": true,
118
"strict": false,
12-
"forceConsistentCasingInFileNames": true,
139
"noEmit": true,
14-
"esModuleInterop": true,
15-
"module": "esnext",
10+
"incremental": true,
1611
"moduleResolution": "node",
1712
"resolveJsonModule": true,
1813
"isolatedModules": true,
19-
"jsx": "preserve",
20-
"incremental": true
14+
"jsx": "preserve"
2115
},
2216
"include": [
2317
"next-env.d.ts",
@@ -27,4 +21,4 @@
2721
"exclude": [
2822
"node_modules"
2923
]
30-
}
24+
}

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)