Skip to content

Instantly share code, notes, and snippets.

@alanfzf
Last active January 16, 2026 21:30
Show Gist options
  • Select an option

  • Save alanfzf/4456205686fd5dbaa18ad0acfc7be2db to your computer and use it in GitHub Desktop.

Select an option

Save alanfzf/4456205686fd5dbaa18ad0acfc7be2db to your computer and use it in GitHub Desktop.
Base and good jsconfig json!
{
"compilerOptions": {
"resolvePackageJsonImports": true,
"moduleResolution": "nodenext",
"alwaysStrict": true,
"checkJs": true,
"module": "nodenext",
"target": "ES6",
"baseUrl": "."
},
"exclude": ["node_modules"]
}
@alanfzf
Copy link
Author

alanfzf commented Jan 16, 2026

{
  "types": ["vite/client"]
}

we need to add that one too

Solution for vite problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment