-
-
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
Support mts
/ cts
/ cjs
config files
#1528
Comments
Does Vite support |
Not supported ATM, vitejs/vite#5201 |
So, we need wait supporting of Vite. Right? |
You can open PR to both :P |
Wait PR vitejs/vite#8729 |
Can we release a new version now? /cc @antfu @sheremet-va |
After #1541 |
is this released now? I am getting
with vitest 0.18.0 |
What Vite 3 version are you using? |
I don't have vite as direct dependency-it's a node.js backend app. |
this is the package.json
|
Clear and concise description of the problem
Import ESM-only package in
vitest.config.ts
If I change extname to
mts
, Vitest can't find and load this config file.Suggested solution
vitest/packages/vitest/src/constants.ts
Lines 11 to 18 in 5dca4ed
Alternative
No response
Additional context
I will try to make an PR to implement it.
Validations
The text was updated successfully, but these errors were encountered: