Skip to content

fix: use web condition names by default in browser-like test environment#1152

Merged
9aoy merged 4 commits intomainfrom
9aoy/fix-web-condition-names-svelte-example
Apr 10, 2026
Merged

fix: use web condition names by default in browser-like test environment#1152
9aoy merged 4 commits intomainfrom
9aoy/fix-web-condition-names-svelte-example

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Apr 9, 2026

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

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

  • Tests updated (or not required).
  • Documentation updated (or not required).

@9aoy 9aoy changed the title feat: use web condition names by default and add svelte example feat: use web condition names by default in browser-like test environment Apr 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

Rsdoctor Bundle Diff Analysis

Found 12 projects in monorepo, 1 project with changes.

📊 Quick Summary
Project Total Size Change
adapter-rsbuild 2.2 KB 0
adapter-rslib 23.2 KB 0
adapter-rspack 5.9 KB 0
browser 2.0 MB 0
browser-react 3.7 KB 0
browser-ui 804.4 KB 0
coverage-istanbul 8.9 KB 0
core/browser 963.8 KB 0
core/loaders 869.0 B 0
core/main 1.6 MB +238.0 B (0.0%)
vscode/extension 60.3 MB 0
vscode/worker 14.4 KB 0
📋 Detailed Reports (Click to expand)

📁 core/main

Path: packages/core/.rsdoctor/main/rsdoctor-data.json

📌 Baseline Commit: f5175cce50 | PR: #1146

Metric Current Baseline Change
📊 Total Size 1.6 MB 1.6 MB +238.0 B (0.0%)
📄 JavaScript 1.5 MB 1.5 MB +238.0 B (0.0%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 79.2 KB 79.2 KB 0

📦 Download Diff Report: core/main Bundle Diff

Generated by Rsdoctor GitHub Action

@9aoy 9aoy changed the title feat: use web condition names by default in browser-like test environment fix: use web condition names by default in browser-like test environment Apr 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

📝 Rstest Ecosystem CI: Open

suite result
modernjs ✅ success
rsbuild ✅ success
rsdoctor ✅ success
rslib ✅ success
rspress ✅ success
examples ✅ success

@9aoy 9aoy requested a review from fi3ework April 9, 2026 08:34
Comment thread packages/core/src/core/plugins/basic.ts Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

📝 Rstest Ecosystem CI: Open

suite result
modernjs ✅ success
examples ✅ success
rsdoctor ✅ success
rslib ✅ success
rspress ✅ success
rsbuild ✅ success

@9aoy 9aoy requested a review from fi3ework April 9, 2026 09:59
@9aoy 9aoy merged commit e84e0a1 into main Apr 10, 2026
17 checks passed
@9aoy 9aoy deleted the 9aoy/fix-web-condition-names-svelte-example branch April 10, 2026 03:39
@9aoy 9aoy mentioned this pull request Apr 10, 2026
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.

2 participants