Skip to content

Conversation

@chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented May 9, 2025

Summary

Update Rsbuild to 1.3.18 and set the callerName option of createRsbuild, which can be accessed by Rsbuild plugins through context.callerName, and execute different logic based on this identifier.

Related Links

Checklist

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

@netlify
Copy link

netlify bot commented May 9, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 088ce44
🔍 Latest deploy log https://app.netlify.com/sites/rslib/deploys/681db6c2e563f30008c1bfcc
😎 Deploy Preview https://deploy-preview-974--rslib.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Timeless0911 Timeless0911 enabled auto-merge (squash) May 9, 2025 08:05
@Timeless0911 Timeless0911 merged commit eb8135e into main May 9, 2025
16 checks passed
@Timeless0911 Timeless0911 deleted the caller_name_0509 branch May 9, 2025 08:09
colinaaa added a commit to lynx-family/lynx-stack that referenced this pull request May 10, 2025
## Summary

Set the `callerName` option of `createRsbuild`, which can be accessed by
Rsbuild plugins through `api.context.callerName`.

See:

- web-infra-dev/rsbuild#5204
- web-infra-dev/rslib#974

## Checklist

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

- [x] Tests updated (or not required).
- [x] Documentation updated (or not required).
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.

3 participants