-
-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support js compilation.addInclude API #8483
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for rspack canceled.
|
CodSpeed Performance ReportMerging #8483 will not alter performanceComparing Summary
|
#[napi(ts_args_type = "dependency: JsDependency, options: JsEntryOptions")] | ||
pub fn add_include( | ||
&mut self, | ||
dependency: JsDependencyWrapper, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use &JsDependency
instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done~
I'd like to know what this JavaScript API is used for in RSC? |
You can see this plugin that implement in webpack |
Firstly, I haven't found the way in which Secondly, I think that |
Summary
Add compilation.addInclude API
[Feature]: There are some missing APIs for frameworks support React Server Component #8469 (comment)
Checklist