You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Alternately, only show that error if src/lib exists. Then anyone who doesn't want to use it can just remove the src/lib directory and not see the error. That seems the simplest way to handle the situation.
Describe the problem
Since the most recent version of svelte kit, svelte kit throws a warning telling us that we should add
lib
to ourjsconfig.json
:We do not use the
lib
folder, nor did we define it in thesvelte.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
The text was updated successfully, but these errors were encountered: