{ "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { "allowJs": true, "checkJs": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "skipLibCheck": true, "sourceMap": true, "strict": true, "moduleResolution": "bundler" }, // `exclude` replaces the generated list rather than merging with it, so the // service-worker entries from .svelte-kit/tsconfig.json are repeated here. // src/lib/vendor is added: it is vendored third-party JS and checkJs is on, // so without this svelte-check reports thousands of errors from foliate-js. "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", "src/lib/vendor/**" ] // 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 // // To make changes to top-level options such as include and exclude, we recommend extending // the generated config; see https://svelte.dev/docs/kit/configuration#typescript }