Skip to content

fix: update peer dependency for @rspack/core v2#1652

Open
chenjiahan wants to merge 1 commit intowebpack:mainfrom
chenjiahan:update_peers_rspack_v2
Open

fix: update peer dependency for @rspack/core v2#1652
chenjiahan wants to merge 1 commit intowebpack:mainfrom
chenjiahan:update_peers_rspack_v2

Conversation

@chenjiahan
Copy link

Summary

Updates the peer dependency requirements for @rspack/core to pre-release ^2.0.0-0 versions.

Copilot AI review requested due to automatic review settings February 14, 2026 12:40
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 updates the peer dependency for @rspack/core to add support for version 2.x pre-release versions. The css-loader is a webpack/rspack loader for processing CSS files, and since @rspack is a faster alternative bundler compatible with webpack's ecosystem, this update ensures the loader can work with the upcoming @rspack/core v2.

Changes:

  • Updated @rspack/core peer dependency from "0.x || 1.x" to "0.x || ^1.0.0 || ^2.0.0-0" to support v2 pre-releases

Reviewed changes

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

File Description
package.json Updated @rspack/core peer dependency version range to include v2 pre-releases
package-lock.json Synchronized peer dependency version range with package.json changes

💡 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