-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Vitest >= 0.34.3 - Module resolution broken ERR_UNKNOWN_FILE_EXTENSION #4068
Comments
Start a new pull request in StackBlitz Codeflow. |
Here is the resolved config
|
I see that in Vitest 0.34.2 there is |
@sheremet-va I change the vite config in the vite plugin config method
So that line in the docs seems to not be honored in 0.34.3 |
Also, I noticed that
whereas in 0.34.2 it's
|
Looks like it overrides more than it should (only optimizeDeps should be overriden). |
Describe the bug
Vitest no longer resolves files correctly. This was introduced in Vitest
0.34.3
most probably by this PRReproduction
Run
imba test
to reproduce.https://stackblitz.com/edit/vitejs-vite-fbhutt?file=add.test.imba&terminal=dev
Also note that it works in vitest
0.34.2
System Info
*
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: