fix: resolve React 19 production runtime error with lucide-react icons
- 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.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"types": ["vitest/globals", "@testing-library/jest-dom"]
|
||||
"types": ["vitest/globals", "@testing-library/jest-dom/vitest"]
|
||||
},
|
||||
"include": ["src", "**/*.test.ts", "**/*.test.tsx"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
|
||||
Reference in New Issue
Block a user