Skip to content

fix(browser): configure internal optimizer dependencies - #10915

Merged
sheremet-va merged 3 commits into
vitest-dev:mainfrom
hi-ogawa:fix/browser-optimize-internals
Aug 11, 2026
Merged

fix(browser): configure internal optimizer dependencies#10915
sheremet-va merged 3 commits into
vitest-dev:mainfrom
hi-ogawa:fix/browser-optimize-internals

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Description

The fix is manually confirmed in the repro mentioned in #10836 (comment)

Note that we cannot test this behavior inside monorepo because Vite doesn't kick in auto re-optimization for workspace packages.

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

Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
@netlify

netlify Bot commented Aug 11, 2026

Copy link
Copy Markdown

Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ecf71b8
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6a7ab9b235a49c0008ce9544
😎 Deploy Preview https://deploy-preview-10915--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@pkg-pr-new

pkg-pr-new Bot commented Aug 11, 2026

Copy link
Copy Markdown
@vitest/browser

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

@vitest/browser-playwright

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

@vitest/browser-preview

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

@vitest/coverage-istanbul

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

@vitest/coverage-v8

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

@vitest/expect

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

@vitest/mocker

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

@vitest/pretty-format

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

@vitest/snapshot

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

@vitest/spy

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

@vitest/ui

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

@vitest/utils

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

vitest

npm i https://pkg.pr.new/vitest@6fd891f

@vitest/web-worker

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

commit: 6fd891f

@hi-ogawa
hi-ogawa marked this pull request as ready for review August 11, 2026 07:22
@sheremet-va
sheremet-va merged commit a72f46e into vitest-dev:main Aug 11, 2026
44 of 50 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some errors related to pre-bundled vitest on browser mode on 5.0.0-beta.7

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo