Vite searches for tsconfig.json in parent directories regardless of having own tsconfig.json or using TS in an app.
It results in:
- Warning each build
- Potentially using incorrect config if an app is cloned to the
/apps/ directory.
I haven't found a way to ignore the config yet...
Only to install server's dependency @vue/tsconfig to remove the warning.
> vite build
▲ [WARNING] Cannot find base config file "@vue/tsconfig/tsconfig.json" [tsconfig.json]
../../tsconfig.json:2:12:
2 │ "extends": "@vue/tsconfig/tsconfig.json",
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Vite searches for
tsconfig.jsonin parent directories regardless of having owntsconfig.jsonor using TS in an app.It results in:
/apps/directory.I haven't found a way to ignore the config yet...
Only to install server's dependency
@vue/tsconfigto remove the warning.