Files
supabase/apps/www/tsconfig.json
T
Ivan Vasilov bbfccdf471 chore: Use @/* as an alias for importing in-package files (#41607)
* Remove extra file.

* Remove unneeded tsconfig.jsons.

* Add @/* alias for importing in-package files to all apps.

* Remove baseUrl from all apps except studio (it'll require changes in almost all files).

* Fix baseUrl issues in docs, ui-library and design-system.

* Fix the typecheck for cms app. Fix all baseUrl errors in the cms app.

* Add deprecated flag to baseUrl in www.
2025-12-30 17:46:24 +01:00

43 lines
1.0 KiB
JSON

{
"compilerOptions": {
// @deprecated: use @/ instead of importing from root
"baseUrl": ".",
"paths": {
"contentlayer/generated": ["./.contentlayer/generated"],
// ~/ is deprecated, use @/ instead
"~/*": ["./*"],
"@/*": ["./*"],
"@ui/*": ["./../../packages/ui/src/*"]
},
"downlevelIteration": true,
"target": "ES2021",
"module": "esnext",
"jsx": "preserve",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"noEmit": true,
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"incremental": true,
"plugins": [
{
"name": "next"
}
]
},
"exclude": ["node_modules", "supabase"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".contentlayer/generated",
"./../../packages/ui/src/**/*.d.ts"
]
}