TanStackT
TanStack9mo ago
6 replies
primary-violet

VSCode Intellisense very slow after upgrading TanStack Start?

Hello,

I'm working in a monorepo (using
pnpm
& Turborepo) in which I have two applications using TanStack Start (and a few other applications that don't).

I was previously using the TanStack Router & Start versions 1.98.4, but decided to upgrade to the latest 1.117.0.

Upon upgrading, my VSCode Intellisense is very slow in both applications, but not in any of the other applications or packages in the monorepo.

Both applications extend from this base
tsconfig.json


packages/tsconfig/tanstack.json
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "compilerOptions": {
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "incremental": true,
    "isolatedModules": true,
    "jsx": "react-jsx",
    "lib": ["DOM", "DOM.Iterable", "ESNext"],
    "module": "ESNext",
    "moduleResolution": "Bundler",
    "noEmit": true,
    "noUncheckedIndexedAccess": true,
    "resolveJsonModule": true,
    "skipLibCheck": true,
    "strict": true,
    "target": "ESNext",
    "tsBuildInfoFile": ".tsbuildinfo"
  }
}

and then have
tsconfig.json
that are structured as
{
  "extends": "@internal/tsconfig/tanstack.json",
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "~/*": [
        "./app/*"
      ]
    }
  },
  "include": [
    "**/*.ts",
    "**/*.tsx"
  ],
  "exclude": [
    "node_modules",
    "dist",
    ".turbo"
  ]
}
Was this page helpful?