Originally posted by **kirklin** May 16, 2023
https://vuejs.org/guide/typescript/overview.html#configuring-tsconfig-json
I noticed that the Vue documentation mentions some details about configuring tsconfig.json, including various options and project references. In particular, there is an important configuration option mentioned: compilerOptions.isolatedModules, which is set to true because Vite uses esbuild for TypeScript transpilation and is subject to single-file transpile limitations.
However, I noticed that this option is not configured in our project's tsconfig.json. I'm wondering if this is an omission or if this option is not necessary for our project. Could you provide some explanation or guidance to help us better understand and configure TypeScript options?
Discussed in https://github.com/antfu/vitesse/discussions/496