Skip to content

fix(rspeedy/plugin-react): be compatible with @lynx-js/rspeedy <= 0.9.6#914

Merged
gaoachao merged 3 commits intolynx-family:mainfrom
colinaaa:colin/0526/inline-scripts-react
May 26, 2025
Merged

fix(rspeedy/plugin-react): be compatible with @lynx-js/rspeedy <= 0.9.6#914
gaoachao merged 3 commits intolynx-family:mainfrom
colinaaa:colin/0526/inline-scripts-react

Conversation

@colinaaa
Copy link
Copy Markdown
Collaborator

Summary

Fix a regression of #874.

The @lynx-js/react-rsbuild-plugin should be compatible with @lynx-js/rspeedy <= 0.9.6, where the default value of output.inlineScripts is undefined.

Checklist

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

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented May 26, 2025

🦋 Changeset detected

Latest commit: 0029193

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

This PR includes changesets to release 2 packages
Name Type
@lynx-js/react-rsbuild-plugin Patch
@lynx-js/react-alias-rsbuild-plugin Patch

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

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented May 26, 2025

CodSpeed Performance Report

Merging #914 will not alter performance

Comparing colinaaa:colin/0526/inline-scripts-react (0029193) with main (751196b)

Summary

✅ 9 untouched benchmarks

@colinaaa
Copy link
Copy Markdown
Collaborator Author

colinaaa commented May 26, 2025

The test is failing because setting output.inlineScripts has no effect, as issue #910 has not been merged yet.

@codecov
Copy link
Copy Markdown

codecov bot commented May 26, 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!

I'm not sure why :)
@colinaaa colinaaa requested a review from gaoachao May 26, 2025 09:42
@gaoachao gaoachao enabled auto-merge May 26, 2025 09:52
@gaoachao gaoachao added this pull request to the merge queue May 26, 2025
Merged via the queue into lynx-family:main with commit 06f2fa1 May 26, 2025
50 of 51 checks passed
colinaaa pushed a commit that referenced this pull request May 26, 2025
….6 (#923)

<!--
  Thank you for submitting a pull request!

We appreciate the time and effort you have invested in making these
changes. Please ensure that you provide enough information to allow
others to review your pull request.

Upon submission, your pull request will be automatically assigned with
reviewers.

If you want to learn more about contributing to this project, please
visit:
https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md.
-->

## Summary

<!-- Can you explain the reasoning behind implementing this change? What
problem or issue does this pull request resolve? -->

<!-- It would be helpful if you could provide any relevant context, such
as GitHub issues or related discussions. -->

This is a cherry-pick of
#914 to
release/rspeedy-0-9-7.

Fix a regression of #874.

The @lynx-js/react-rsbuild-plugin should be compatible with
@lynx-js/rspeedy <= 0.9.6, where the default value of
output.inlineScripts is undefined.

## Checklist

<!--- Check and mark with an "x" -->

- [x] Tests updated (or not required).
- [ ] Documentation updated (or not required).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants