You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using babel plugins (at least the formatjs plugin) in Vite config, vitest extension throws error Error: Cannot find package 'babel-plugin-formatjs' imported from /babel-virtual-resolve-base.js when one of the test files changes.
jtiala
changed the title
When using babel plugins in vite config, vitest extension throws error when one of the test files changes
When using babel plugins in vite react config, vitest extension throws error when one of the test files changes
May 10, 2024
Describe the bug
When using babel plugins (at least the formatjs plugin) in Vite config, vitest extension throws error
Error: Cannot find package 'babel-plugin-formatjs' imported from /babel-virtual-resolve-base.js
when one of the test files changes.Reproduction
https://github.com/jtiala/vitest-vscode-babel-plugin-bug-repro
sum.test.ts
and save.Error: Cannot find package 'babel-plugin-formatjs' imported from /babel-virtual-resolve-base.js
Output
Version
v0.10.2
Validations
The text was updated successfully, but these errors were encountered: