2024-10-27 18:29:40 +08:00
|
|
|
{
|
|
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
|
|
"compilerOptions": {
|
|
|
|
"allowJs": true,
|
|
|
|
"checkJs": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
"sourceMap": true,
|
|
|
|
"strict": true,
|
2024-11-04 01:18:21 +08:00
|
|
|
"moduleResolution": "bundler",
|
|
|
|
"plugins": [
|
|
|
|
{
|
|
|
|
"name": "typescript-svelte-plugin",
|
|
|
|
// the following options can be set additionally; they are optional; their default values are listed here
|
|
|
|
"enabled": true, // enables this plugin
|
|
|
|
"assumeIsSvelteProject": false // if true, skip detection and always assume it's a Svelte project
|
|
|
|
}
|
|
|
|
]
|
2024-10-27 18:29:40 +08:00
|
|
|
}
|
|
|
|
// 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
|
|
|
|
}
|