-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Milestone
Description
Describe the problem
Since the most recent version of svelte kit, svelte kit throws a warning telling us that we should add lib to our jsconfig.json:
Your compilerOptions.paths in jsconfig.json should include the following:
{
"$lib":["src/lib"],
"$lib/*":["src/lib/*"]
}
We do not use the lib folder, nor did we define it in the svelte.config.js. We are also not planning on using it any time soon.
Without making a fork of svelte kit and removing the warning directly in the source code, there is no way for us to work around it without polluting our jsconfig, or adding a never to be used alias in vite.
Describe the proposed solution
Only show the errors if( !Object.keys( compilerOptions.paths || {} ).length ), or something similar.
Alternatives considered
Applying some tape on the perfect position on our screens and never touching the resize terminal edge ever again.
Importance
nice to have
Additional Information
No response
jamband, aradalvand, UltraCakeBakery, mattpilott and jerrygreenZetiMente
Metadata
Metadata
Assignees
Labels
No labels