Skip to content

Commit 63fb58b

Browse files
fix(config): preserve jsx
1 parent 0c56ab2 commit 63fb58b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/create-webpack-app/templates/init/svelte/tsconfig.json.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"module": "esnext",
66
"strict": true,
77
"moduleResolution": "bundler",
8+
"jsx": "preserve",
89
"skipLibCheck": true,
910
"esModuleInterop": true,
1011
"allowSyntheticDefaultImports": true,

packages/create-webpack-app/templates/init/vue/tsconfig.json.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"module": "esnext",
55
"strict": true,
66
"jsx": "preserve",
7+
"jsxImportSource": "vue",
78
"moduleResolution": "bundler",
89
"skipLibCheck": true,
910
"esModuleInterop": true,

0 commit comments

Comments
 (0)