Skip to content

Conversation

@colinaaa
Copy link
Collaborator

@colinaaa colinaaa commented Nov 24, 2025

Summary by CodeRabbit

  • Chores
    • Removed automatic inlineScripts configuration override; now relies on existing defaults
    • Cleaned up configuration comments

✏️ Tip: You can customize this high-level summary in your review settings.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).
  • Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).

@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: bf86c1e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 24, 2025

📝 Walkthrough

Walkthrough

This PR removes a backward-compatibility default for output.inlineScripts in the React plugin and removes a comment line from the SWC configuration. A new changeset file is added to document these changes.

Changes

Cohort / File(s) Summary
Changeset Documentation
.changeset/deep-ideas-grin.md
Added new changeset file with YAML front-matter markers
React Plugin Config
packages/rspeedy/plugin-react/src/pluginReactLynx.ts, packages/rspeedy/plugin-react/src/swc.ts
Removed backward-compatibility block that defaulted output.inlineScripts to true; removed comment from SWC transform config

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

  • Key attention area: Verify that removing the output.inlineScripts default doesn't break existing configs that relied on this implicit behavior. Ensure that the new default behavior (when undefined) is documented or handled appropriately in rsbuild configuration.

Possibly related PRs

Suggested labels

framework:React

Suggested reviewers

  • gaoachao

Poem

🐰 Hoppy times ahead, we say!
Old defaults hop away,
Comments cleaned, configs aligned,
A cleaner path the team will find! 🎀

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: removing the default output.inlineScripts behavior from the rspeedy/react plugin, which aligns with the primary modification in pluginReactLynx.ts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 24, 2025

CodSpeed Performance Report

Merging #1952 will degrade performances by 6.86%

Comparing colinaaa:colin/1124/todos (bf86c1e) with main (4695100)

Summary

❌ 1 regression
✅ 62 untouched
⏩ 3 skipped1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
basic-performance-small-css 6.9 ms 7.4 ms -6.86%

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@relativeci
Copy link

relativeci bot commented Nov 24, 2025

Web Explorer

#6297 Bundle Size — 377.49KiB (0%).

bf86c1e(current) vs 4695100 main#6283(baseline)

Bundle metrics  no changes
                 Current
#6297
     Baseline
#6283
No change  Initial JS 146.32KiB 146.32KiB
No change  Initial CSS 32.37KiB 32.37KiB
No change  Cache Invalidation 0% 0%
No change  Chunks 8 8
No change  Assets 8 8
No change  Modules 230 230
No change  Duplicate Modules 16 16
No change  Duplicate Code 2.95% 2.95%
No change  Packages 4 4
No change  Duplicate Packages 0 0
Bundle size by type  no changes
                 Current
#6297
     Baseline
#6283
No change  JS 243.18KiB 243.18KiB
No change  Other 101.94KiB 101.94KiB
No change  CSS 32.37KiB 32.37KiB

Bundle analysis reportBranch colinaaa:colin/1124/todosProject dashboard


Generated by RelativeCIDocumentationReport issue

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