From 5bf8886702543579761a31a69bf79a366e25d4bd Mon Sep 17 00:00:00 2001 From: 刘嘉威 <daidaibg@163.com> Date: 星期二, 11 十月 2022 17:16:16 +0800 Subject: [PATCH] docs: update README --- tsconfig.json | 32 +++++++++++++------------------- 1 files changed, 13 insertions(+), 19 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index a7d0be3..6c47589 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,25 +1,19 @@ { + "extends": "@vue/tsconfig/tsconfig.web.json", + "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "types"], "compilerOptions": { - "baseUrl": ".", - "module": "ESNext", - "target": "ES2016", - "lib": ["DOM", "ESNext"], - "strict": true, - "jsx": "preserve", - "esModuleInterop": true, - "skipLibCheck": true, - "moduleResolution": "node", - "resolveJsonModule": true, - "noUnusedLocals": true, - "strictNullChecks": true, - "allowJs": true, - "forceConsistentCasingInFileNames": true, - "types": [ - "vite/client" - ], + "baseUrl": "./", + "types": ["vite/client" ], "paths": { - "~/*": ["src/*"] + "@/*": ["src/*"], + "api/*": [ + "src/api/*" + ], } }, - "exclude": ["dist", "node_modules"] + "references": [ + { + "path": "./tsconfig.config.json" + } + ] } -- Gitblit v1.8.0