Skip to content

Conversation

@sheremet-va
Copy link
Member

@sheremet-va sheremet-va commented Oct 18, 2025

Description

This is a bug in Vite. It's fixed in Vite 7.2, but we also support Vite 6+, so we need to have the workaround for now.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

  • It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
  • Ideally, include a test that fails without this PR but passes with it.
  • Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.
  • Please check Allow edits by maintainers to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

Tests

  • Run the tests with pnpm test:ci.

Documentation

  • If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

  • Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 18, 2025

@vitest/browser

npm i https://pkg.pr.new/@vitest/browser@8736

@vitest/browser-playwright

npm i https://pkg.pr.new/@vitest/browser-playwright@8736

@vitest/browser-preview

npm i https://pkg.pr.new/@vitest/browser-preview@8736

@vitest/browser-webdriverio

npm i https://pkg.pr.new/@vitest/browser-webdriverio@8736

@vitest/coverage-istanbul

npm i https://pkg.pr.new/@vitest/coverage-istanbul@8736

@vitest/coverage-v8

npm i https://pkg.pr.new/@vitest/coverage-v8@8736

@vitest/expect

npm i https://pkg.pr.new/@vitest/expect@8736

@vitest/mocker

npm i https://pkg.pr.new/@vitest/mocker@8736

@vitest/pretty-format

npm i https://pkg.pr.new/@vitest/pretty-format@8736

@vitest/runner

npm i https://pkg.pr.new/@vitest/runner@8736

@vitest/snapshot

npm i https://pkg.pr.new/@vitest/snapshot@8736

@vitest/spy

npm i https://pkg.pr.new/@vitest/spy@8736

@vitest/ui

npm i https://pkg.pr.new/@vitest/ui@8736

@vitest/utils

npm i https://pkg.pr.new/@vitest/utils@8736

vite-node

npm i https://pkg.pr.new/vite-node@8736

vitest

npm i https://pkg.pr.new/vitest@8736

@vitest/web-worker

npm i https://pkg.pr.new/@vitest/web-worker@8736

@vitest/ws-client

npm i https://pkg.pr.new/@vitest/ws-client@8736

commit: 9f4d40c

@netlify
Copy link

netlify bot commented Oct 18, 2025

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 9f4d40c
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/68f35a61bb260d0008b9a992
😎 Deploy Preview https://deploy-preview-8736--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 merged commit 8fc5297 into vitest-dev:main Oct 21, 2025
13 of 16 checks passed
@sheremet-va sheremet-va deleted the fix/source-map-pre-module branch October 21, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant