Skip to content

Conversation

@hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Dec 2, 2025

Description

Resolves #9003
Closes #9047 (supersedes)

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:.

@netlify
Copy link

netlify bot commented Dec 2, 2025

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 68709bc
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/692f9b202c54db000883e780
😎 Deploy Preview https://deploy-preview-9152--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.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 2, 2025

@vitest/browser

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

@vitest/browser-playwright

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

@vitest/browser-preview

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

@vitest/browser-webdriverio

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

@vitest/coverage-istanbul

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

@vitest/coverage-v8

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

@vitest/expect

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

@vitest/mocker

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

@vitest/pretty-format

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

@vitest/runner

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

@vitest/snapshot

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

@vitest/spy

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

@vitest/ui

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

@vitest/utils

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

vitest

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

@vitest/web-worker

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

@vitest/ws-client

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

commit: 09c3955

this.url = from
this.resolvedSources = (sources || []).map(s =>
resolve(s || '', from),
resolve(from, '..', s || ''),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like some mix up. Realized you fixed up on Vite but not here vitejs/vite#20959

@hi-ogawa hi-ogawa marked this pull request as ready for review December 3, 2025 02:39
@hi-ogawa hi-ogawa marked this pull request as draft December 3, 2025 02:50
@hi-ogawa
Copy link
Contributor Author

hi-ogawa commented Dec 3, 2025

I tested minimized preact case and source map is off. It looks like the initial stack trace is already different between Node and Vitest https://github.com/hi-ogawa/reproductions/tree/main/vitest-9003-source-map-external

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.

stack trace without source maps of external modules

1 participant