diff --git a/template/typescript/base/tsconfig.json b/template/typescript/base/tsconfig.json new file mode 100644 index 0000000..301114c --- /dev/null +++ b/template/typescript/base/tsconfig.json @@ -0,0 +1,32 @@ +{ + "compilerOptions": { + "target": "ESNext", + "jsx": "preserve", + "lib": ["DOM", "ESNext"], + "baseUrl": ".", + "module": "ESNext", + "moduleResolution": "bundler", + "paths": { + "@/*": ["src/*"] + }, + "resolveJsonModule": true, + "types": [ + "vite/client", + "unplugin-vue-router/client" + ], + "allowJs": true, + "strict": true, + "strictNullChecks": true, + "noUnusedLocals": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "isolatedModules": true, + "skipLibCheck": true + }, + "include": [ + "src/**/*", + "src/**/*.vue" + ], + "exclude": ["dist", "node_modules", "cypress"], + "references": [{ "path": "./tsconfig.node.json" }], +} diff --git a/template/typescript/default/tsconfig.json b/template/typescript/default/tsconfig.json index 301114c..c5ed714 100644 --- a/template/typescript/default/tsconfig.json +++ b/template/typescript/default/tsconfig.json @@ -11,8 +11,7 @@ }, "resolveJsonModule": true, "types": [ - "vite/client", - "unplugin-vue-router/client" + "vite/client" ], "allowJs": true, "strict": true,