fix: use web condition names by default in browser-like test environment#1152
Merged
fix: use web condition names by default in browser-like test environment#1152
Conversation
Rsdoctor Bundle Diff AnalysisFound 12 projects in monorepo, 1 project with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 core/mainPath:
📦 Download Diff Report: core/main Bundle Diff Generated by Rsdoctor GitHub Action |
fi3ework
reviewed
Apr 9, 2026
fi3ework
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Background
browser-like test environments were still resolving with node-oriented defaults, which makes browser-field reproduction harder and left this regression without a framework example outside the existing React and Vue samples.
Implementation
['browser', '...']condition names. (follow https://github.com/web-infra-dev/rspack/blob/7165b2395e37c73732c5ede3664ca382faae13d0/packages/rspack/src/config/defaults.ts#L1104)conditionNamesbehavior and refresh the affected snapshots.examples/svelte-rsbuildworkspace with adapter-based config, minimal Svelte component tests, and lockfile updates.User Impact
Web-like projects now resolve browser-targeted exports by default, and the repo includes a Svelte Rsbuild example that reproduces and validates this path.
Related Links
#1151
Checklist