Introduce server
option to pass down options for Vite Node instead of deps.inline
/deps.exclude
#3522
Closed
4 tasks done
Labels
Milestone
Clear and concise description of the problem
Currently, all options to Vite Node are passed down through different options. If someone uses Vite Node as their primary runtime, it is easier to pass down its options via a single entry. To close #3521, we also need a separate option that can be used for Vite Node initialization for those who use Vite Node as their primary runtime tool.
Suggested solution
Add a
server
option to Vitest config that is equal toViteNodeServerOptions
:vitest/packages/vite-node/src/types.ts
Line 91 in 1525389
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: