Skip to content

Commit 783a4b2

Browse files
committed
fix lib, module, and target to not override the tsconfig they generate by default
1 parent a811a8a commit 783a4b2

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

Diff for: .changeset/rude-masks-kneel.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-svelte': patch
3+
---
4+
5+
fix lib, module, and target to not override the tsconfig they generate by default

Diff for: packages/create-svelte/shared/+checkjs/jsconfig.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
"checkJs": true,
66
"esModuleInterop": true,
77
"forceConsistentCasingInFileNames": true,
8-
"lib": ["es2020", "DOM"],
9-
"moduleResolution": "node",
10-
"module": "es2020",
118
"resolveJsonModule": true,
129
"skipLibCheck": true,
1310
"sourceMap": true,
14-
"strict": true,
15-
"target": "es2020"
11+
"strict": true
1612
}
1713
}

Diff for: packages/create-svelte/shared/+typescript/tsconfig.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
"checkJs": true,
66
"esModuleInterop": true,
77
"forceConsistentCasingInFileNames": true,
8-
"lib": ["es2020", "DOM"],
9-
"moduleResolution": "node",
10-
"module": "es2020",
118
"resolveJsonModule": true,
129
"skipLibCheck": true,
1310
"sourceMap": true,
14-
"strict": true,
15-
"target": "es2020"
11+
"strict": true
1612
}
1713
}

0 commit comments

Comments
 (0)