酷炫&聚星API数据系统

tsconfig.json 701B

1234567891011121314151617181920212223242526
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "useDefineForClassFields": true,
  5. "module": "esnext",
  6. "moduleResolution": "node",
  7. "strict": true,
  8. "jsx": "preserve",
  9. "sourceMap": true,
  10. "resolveJsonModule": true,
  11. "esModuleInterop": true,
  12. "noImplicitAny": false,
  13. "lib": ["esnext", "dom"],
  14. "skipLibCheck": true, //解决打包报`vue-tsc --noEmit && vite build`的错,忽略所有的声明文件(*.d.ts)的类型检查
  15. "baseUrl": "./",
  16. "paths": {
  17. "@/*": [
  18. "./src/*"
  19. ]
  20. },
  21. "types": ["pinia-plugin-persist"]
  22. },
  23. "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
  24. "exclude": ["node_modules"]
  25. }