Skip to content

Conversation

@sheremet-va
Copy link
Member

@sheremet-va sheremet-va commented Dec 26, 2025

Description

In an effort to reduce the amount of chunks in Vitest's dist directory (which should make the startup time faster), I propose removing some of the entry points:

  • vitest/coverage -> use vitest/node instead
  • vitest/reporters -> use vitest/node instead
  • vitest/environments -> use vitest/runtime instead
  • vitest/snapshot -> use vitest/runtime instead
  • vitest/runners -> use vitest instead
  • vitest/suite -> use static methods on TestRunner from vitest instead: import("vitest").TestRunner.getCurrentTest()
  • vitest/mocker is removed completely, use @vitest/mocker package directly (this was published by accident at one point and never removed)
  • vitest/internal/module-runner is removed, the code is moved to __INTERNAL in vitest/runtime

@netlify
Copy link

netlify bot commented Dec 26, 2025

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 36f2dc5
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/69503ee43c166500081e39c5
😎 Deploy Preview https://deploy-preview-9347--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sheremet-va sheremet-va added this to the 4.1.0 milestone Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant