Skip to content

Comments

feat: add inlineExports option to optimization#69

Merged
chenjiahan merged 1 commit intomainfrom
inline_exports_1217
Dec 17, 2025
Merged

feat: add inlineExports option to optimization#69
chenjiahan merged 1 commit intomainfrom
inline_exports_1217

Conversation

@chenjiahan
Copy link
Member

Copilot AI review requested due to automatic review settings December 17, 2025 09:00
@chenjiahan chenjiahan merged commit 0562ae8 into main Dec 17, 2025
10 checks passed
@chenjiahan chenjiahan deleted the inline_exports_1217 branch December 17, 2025 09:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for the inlineExports optimization option to rspack-chain, aligning with the new feature introduced in Rspack 1.7.0-beta.0. The change enables users to configure inline exports optimization through the chainable API.

  • Adds inlineExports method to the Optimization class for chaining API support
  • Updates @rspack/core dependency from ^1.6.5 to ^1.7.0-beta.0 to support the new feature

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
types/index.d.ts Adds TypeScript type definition for the inlineExports method on the Optimization interface
src/Optimization.js Adds inlineExports to the list of shorthand optimization configuration methods
package.json Updates @rspack/core dependency to version 1.7.0-beta.0 to support the new optimization option
pnpm-lock.yaml Updates lock file with new @rspack/core version and all transitive dependency changes
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant