diff --git a/dashboard/tsconfig.json b/dashboard/tsconfig.json index 7820a40b1c..3c6be315b1 100644 --- a/dashboard/tsconfig.json +++ b/dashboard/tsconfig.json @@ -1,13 +1,24 @@ { "extends": "@vue/tsconfig/tsconfig.dom.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "src/types/.d.ts"], + "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "src/types/**/*.d.ts"], "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "bundler", + "useDefineForClassFields": true, + "isolatedModules": true, + "strict": true, + "jsx": "preserve", + "resolveJsonModule": true, + "esModuleInterop": true, + "skipLibCheck": true, + "noEmit": true, + "allowJs": true, "ignoreDeprecations": "5.0", "baseUrl": ".", "paths": { "@/*": ["./src/*"] - }, - "allowJs": true + } }, "references": [ diff --git a/dashboard/tsconfig.vite-config.json b/dashboard/tsconfig.vite-config.json index a3d4b21517..886f74b46f 100644 --- a/dashboard/tsconfig.vite-config.json +++ b/dashboard/tsconfig.vite-config.json @@ -2,8 +2,12 @@ "extends": "@vue/tsconfig/tsconfig.json", "include": ["vite.config.*"], "compilerOptions": { + "outDir": "dist", "composite": true, "allowJs": true, + "skipLibCheck": true, + "esModuleInterop": true, + "moduleResolution": "node", "types": ["node"] } }