diff --git a/packages/published/rspack-plugin/package.json b/packages/published/rspack-plugin/package.json index 0b9f54888..4b271608d 100644 --- a/packages/published/rspack-plugin/package.json +++ b/packages/published/rspack-plugin/package.json @@ -88,7 +88,7 @@ "@babel/parser": "^7.24.5", "@babel/traverse": "^7.24.5", "@babel/types": "^7.24.5", - "@rspack/core": "1.x", + "@rspack/core": "1.x || 2.x", "magic-string": "^0.30.0" }, "peerDependenciesMeta": { diff --git a/yarn.lock b/yarn.lock index 495ca9fae..d04d8d4b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1830,7 +1830,7 @@ __metadata: "@babel/parser": ^7.24.5 "@babel/traverse": ^7.24.5 "@babel/types": ^7.24.5 - "@rspack/core": 1.x + "@rspack/core": 1.x || 2.x magic-string: ^0.30.0 peerDependenciesMeta: "@babel/parser":