Skip to content

Commit 3f3d036

Browse files
authored
feat(plugin-typescript): add all recommended tsconfig (#6428)
1 parent 4473ca2 commit 3f3d036

File tree

1 file changed

+3
-0
lines changed
  • packages/@vue/cli-plugin-typescript/generator/template

1 file changed

+3
-0
lines changed

Diff for: packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"module": "esnext",
55
"strict": true,
66
"jsx": "preserve",
7+
<%_ if (!options.useTsWithBabel) { _%>
78
"importHelpers": true,
9+
<%_ } _%>
810
"moduleResolution": "node",
911
<%_ if (options.classComponent) { _%>
1012
"experimentalDecorators": true,
@@ -17,6 +19,7 @@
1719
<%_ } _%>
1820
"esModuleInterop": true,
1921
"allowSyntheticDefaultImports": true,
22+
"forceConsistentCasingInFileNames": true,
2023
"useDefineForClassFields": true,
2124
"sourceMap": true,
2225
"baseUrl": ".",

0 commit comments

Comments
 (0)