feat(deps): upgrade @rspack/core to 2.0.0-beta.0#7134
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary of ChangesHello @chenjiahan, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on a significant version bump for the Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request upgrades @rspack/core to 2.0.0-beta.0 and updates the code to reflect API changes in the new version. The change in packages/core/src/server/runner/esm.ts is correct. I've left one comment regarding a missed update in a related file that also uses the deprecated API.
There was a problem hiding this comment.
Pull request overview
Upgrades the Rsbuild core bundler dependency to @rspack/[email protected] and adapts server-side bundle execution logic to align with the updated Rspack options shape.
Changes:
- Bump
@rspack/corefrom2.0.0-alpha.1to2.0.0-beta.0inpackages/core. - Update pnpm lockfile to reflect the new Rspack beta bindings and dependency graph.
- Adjust ESM runner logic to read the ESM output flag from
compilerOptions.output.module.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-lock.yaml | Updates lockfile entries for @rspack/[email protected] and associated platform bindings/snapshots. |
| packages/core/src/server/runner/esm.ts | Switches ESM output detection to compilerOptions.output.module to match updated compiler options. |
| packages/core/package.json | Bumps @rspack/core dependency to 2.0.0-beta.0. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
experiments.outputModule, see feat!: remove experiments.outputModule config rspack#12912Related Links
Checklist