Skip to content

fix: remove output.charset option#73

Merged
chenjiahan merged 1 commit intomainfrom
remove_charset_0117
Jan 17, 2026
Merged

fix: remove output.charset option#73
chenjiahan merged 1 commit intomainfrom
remove_charset_0117

Conversation

@chenjiahan
Copy link
Member

Copilot AI review requested due to automatic review settings January 17, 2026 13:34
@chenjiahan chenjiahan merged commit 614303e into main Jan 17, 2026
11 checks passed
@chenjiahan chenjiahan deleted the remove_charset_0117 branch January 17, 2026 13:35
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 removes the deprecated output.charset option from rspack-chain to align with upstream Rspack changes (ref: web-infra-dev/rspack#12660).

Changes:

  • Removed charset method from Output class implementation
  • Removed charset type definition from TypeScript declarations
  • Updated test file to remove charset usage
  • Updated documentation to remove charset reference

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/Output.js Removed 'charset' from the shorthands array in the Output class
types/index.d.ts Removed charset method declaration from Output class type definition
types/test/rspack-chain-tests.ts Removed .charset(true) call from output configuration test
README.md Removed .charset(charset) from the output shorthand methods documentation

💡 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