diff --git a/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json b/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json index 9c4042b976..bc3cb7946b 100644 --- a/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json +++ b/packages/@vue/cli-plugin-typescript/generator/template/tsconfig.json @@ -4,7 +4,9 @@ "module": "esnext", "strict": true, "jsx": "preserve", + <%_ if (!options.useTsWithBabel) { _%> "importHelpers": true, + <%_ } _%> "moduleResolution": "node", <%_ if (options.classComponent) { _%> "experimentalDecorators": true, @@ -17,6 +19,7 @@ <%_ } _%> "esModuleInterop": true, "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, "useDefineForClassFields": true, "sourceMap": true, "baseUrl": ".",