- Updated package.json to include @types/node@25.0.3 for compatibility. - Modified package-lock.json to reflect the new version of @types/node and updated cookie package to 1.1.1. - Adjusted tsconfig.json to specify @testing-library/jest-dom/vitest for type definitions. - Updated vite.config.ts to disable code splitting temporarily to diagnose React initialization issues, increasing chunk size warning limit.
27 lines
707 B
JSON
27 lines
707 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"types": ["vitest/globals", "@testing-library/jest-dom/vitest"]
|
|
},
|
|
"include": ["src", "**/*.test.ts", "**/*.test.tsx"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|