mirror of
https://github.com/xming521/WeClone.git
synced 2026-10-18 14:36:48 +08:00
7234dc6ab7
- 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.
22 lines
556 B
JSON
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"]
|
|
}
|