33 lines
1.1 KiB
JSON
33 lines
1.1 KiB
JSON
{
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"allowImportingTsExtensions": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"moduleResolution": "bundler"
|
|
},
|
|
// The app check leaves out tests/. They run in Node and have their own tests/tsconfig.json.
|
|
// These entries copy the SvelteKit excludes, which TypeScript does not merge.
|
|
"exclude": [
|
|
"node_modules/**",
|
|
"src/service-worker.js",
|
|
"src/service-worker/**/*.js",
|
|
"src/service-worker.ts",
|
|
"src/service-worker/**/*.ts",
|
|
"src/service-worker.d.ts",
|
|
"src/service-worker/**/*.d.ts",
|
|
"tests/**"
|
|
]
|
|
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
|
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
|
//
|
|
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
|
// from the referenced tsconfig.json - TypeScript does not merge them in
|
|
}
|