Closed mssngr closed 1 year ago
This is to resolve an issue from #77 .
This PR removes project reference support, which is undesired.
Closed in favor of https://github.com/aleclarson/vite-tsconfig-paths/commit/99015bfc2f3dd9ae533d92f17f057c5f7572d27d
Vite, by default now, creates a
tsconfig.node.json
and adds a reference to it in the maintsconfig.json
. Thistsconfig.node.json
is only intended for thevite.config.ts
file, not for the source code. So, this offending block of code now discards the maintsconfig.json
file for the ancillarytsconfig.node.json
, causing several issues, including not using the baseUrl and paths from the maintsconfig.json.
The result is a run like this:Removing this block should fix the above issue.