-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vue-ts] incorrect warning about missing baseUrl
in extended tsconfig.json
#3758
Comments
I can reproduce the issue after cloning the repro repo, installing |
@bluwy It seems the author of |
Run |
My bad. I managed to tracked it down, and it seems to be a warning logged by esbuild when Vite bundles the config file with it here. It would be an issue with esbuild then, not sure if it's a bug or an intentional behaviour. |
OK, it seems warning from https://github.com/evanw/esbuild/blob/master/internal/resolver/tsconfig_json.go#L319 |
Describe the bug
baseUrl
is already set in the project leveltsconfig.json
: https://github.com/JounQin/test/blob/vite/tsconfig.json#L4The warning means vite is consuming the original tsconfig from node_modules, this is incorrect.
Reproduction
https://github.com/JounQin/test/tree/vite
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: yarn
Logs
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: