Files
WeClone/web/tsconfig.json
xming521 7234dc6ab7 Add TypeScript configuration and Vite setup for React project
- Created tsconfig.json with TypeScript compiler options for ES2022 and React JSX support.
- Added vite.config.ts to configure Vite with React plugin and set up API proxy for development and preview environments.
2026-09-27 14:35:22 +08:00

22 lines
556 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"useDefineForClassFields": true,
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
"moduleResolution": "Bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"types": ["vite/client"]
},
"include": ["src", "vite.config.ts"]
}