Skip to content

fix(rspeedy/core): output.inlineScripts should defaults to true#910

Merged
colinaaa merged 1 commit intolynx-family:mainfrom
colinaaa:colin/0526/inline-scripts
May 26, 2025
Merged

fix(rspeedy/core): output.inlineScripts should defaults to true#910
colinaaa merged 1 commit intolynx-family:mainfrom
colinaaa:colin/0526/inline-scripts

Conversation

@colinaaa
Copy link
Copy Markdown
Collaborator

@colinaaa colinaaa commented May 26, 2025

Summary

Fix a regression of #874.

We should set output.inlineScripts to Rsbuild, so that:

  • The default value of environment.config.output.inlineScripts could be true
  • The output.inlineScripts could be set in lynx.config.js

Checklist

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

@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!

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented May 26, 2025

CodSpeed Performance Report

Merging #910 will improve performances by 17.86%

Comparing colinaaa:colin/0526/inline-scripts (34ce096) with main (751196b)

Summary

⚡ 1 improvements
✅ 8 untouched benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
basic-performance-div-10 2.5 ms 2.1 ms +17.86%

Copy link
Copy Markdown
Collaborator

@gaoachao gaoachao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@gaoachao gaoachao enabled auto-merge May 26, 2025 08:01
@gaoachao gaoachao added this pull request to the merge queue May 26, 2025
@colinaaa colinaaa removed this pull request from the merge queue due to a manual request May 26, 2025
@colinaaa colinaaa added this pull request to the merge queue May 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 26, 2025
@colinaaa colinaaa merged commit 0d94884 into lynx-family:main May 26, 2025
45 of 47 checks passed
@colinaaa colinaaa deleted the colin/0526/inline-scripts branch May 26, 2025 08:24
colinaaa added a commit to colinaaa/lynx-stack that referenced this pull request May 26, 2025
…ynx-family#910)

## Summary

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

Fix a regression of lynx-family#874.

We should set `output.inlineScripts` to Rsbuild, so that:

- The default value of `environment.config.output.inlineScripts` could
be `true`
- The `output.inlineScripts` could be set in `lynx.config.js`

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

## Checklist

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

- [x] Tests updated (or not required).
- [ ] Documentation updated (or not required).
colinaaa added a commit that referenced this pull request May 26, 2025
…915)

## Summary

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

Fix a regression of #874.

We should set `output.inlineScripts` to Rsbuild, so that:

- The default value of `environment.config.output.inlineScripts` could
be `true`
- The `output.inlineScripts` could be set in `lynx.config.js`

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

## 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