We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tsconfig.json
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use multiple tsconfig files using the references field.
tsconfig
references
However, svelte-check and Svelte for VS Code do not seem to utilize the referenced project(s).
svelte-check
As a result, svelte-check results and error messages in VS Code editor do not match.
Reference the FIXME comments in hyunbinseo/svelte-kit-templates@85616f7
FIXME
// tsconfig.json - base config { "extends": "./.svelte-kit/tsconfig.json", "compilerOptions": { "lib": ["ES2022"] }, "references": [{ "path": "./tsconfig.client.json" }] }
// tsconfig.client.json - client-only config { "extends": "./tsconfig.json", "compilerOptions": { "composite": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "lib": ["ES2020", "DOM", "DOM.Iterable"] // lower lib value in this case }, "exclude": [ "./node_modules/**", "./src/service-worker.js", "./src/service-worker.ts", "./src/service-worker.d.ts", // Exclude server files. "./src/lib/server/**/*.js", "./src/lib/server/**/*.ts", "./src/**/*.server.js", "./src/**/*.server.ts", "./src/**/+server.js", "./src/**/+server.ts" ] }
Support tsconfig file's references field.
https://www.typescriptlang.org/tsconfig/#references
No response
The text was updated successfully, but these errors were encountered:
Duplicate of #2148
Sorry, something went wrong.
No branches or pull requests
Description
I am trying to use multiple
tsconfig
files using thereferences
field.tsconfig.json
for server and client kit#12537However,
svelte-check
and Svelte for VS Code do not seem to utilize the referenced project(s).As a result,
svelte-check
results and error messages in VS Code editor do not match.Reference the
FIXME
comments in hyunbinseo/svelte-kit-templates@85616f7Proposed solution
Support
tsconfig
file'sreferences
field.https://www.typescriptlang.org/tsconfig/#references
Alternatives
No response
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: