mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-07-26 03:22:55 +02:00
4b745974a1
TypeScript 7 removes the 'baseUrl' compiler option and requires 'paths' entries to be relative (leading './'). Update tsconfig.json accordingly. The '@/alias is also resolved by Vite's resolve.alias in vite.config.ts, so only tsc --noEmit was affected. Verified: tsc --noEmit clean, e2e typecheck clean, 339/339 vitest tests passing.
22 lines
548 B
JSON
22 lines
548 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"isolatedModules": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"allowJs": true,
|
|
"paths": {
|
|
"@/*": ["./src/meshcore_hub/web/static/js/spa-react/*"]
|
|
}
|
|
},
|
|
"include": ["src/meshcore_hub/web/static/js/spa-react"]
|
|
}
|