43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
// custom compiler options
|
|
"noEmit": true,
|
|
"target": "ES2018",
|
|
"module": "ES2022",
|
|
"moduleResolution": "Bundler",
|
|
"allowSyntheticDefaultImports": true,
|
|
"paths": {
|
|
"$root/*": ["/*"],
|
|
"$src/*": ["src/*"],
|
|
"$lib/*": ["src/lib/*"],
|
|
"$routes/*": ["src/routes/*"],
|
|
}
|
|
},
|
|
"include": [
|
|
"./scripts/**/*",
|
|
"./test/*.js",
|
|
"./*.js",
|
|
"./src/**/*.d.ts",
|
|
"./src/**/*.js",
|
|
"./src/**/*.svelte",
|
|
"./src/**/*.ts",
|
|
".svelte-kit/ambient.d.ts",
|
|
".svelte-kit/types/**/$types.d.ts",
|
|
"./csp-directives.ts"
|
|
],
|
|
"exclude": ["node_modules/*"]
|
|
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
|
//
|
|
// 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
|
|
}
|