tsconfig.json generator
Six questions → a commented tsconfig.json you can copy. Based on TypeScript 5.x defaults for browser, Node, or library projects.
~~~
Your tsconfig.json
Real tsconfig.json files support comments (JSONC). Most editors and tsc accept them. Adjust include, outDir, and path aliases to match your repo layout.
~~~
About this tool
A good tsconfig depends on where code runs (browser vs Node vs npm package) and how modules are resolved (bundler vs tsc emit vs Node native ESM). This generator picks sensible TypeScript 5.x options and explains each one inline.
If you use path aliases, mirror them in Vite/webpack too — tsconfig paths alone do not change what your bundler resolves.
~~~