Skip to content

Commit 512e4c3

Browse files
authored
feat: add @rspack/core as an optional peer dependency (#679)
1 parent d53fe9d commit 512e4c3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

package.json

+9
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,18 @@
4141
"dist"
4242
],
4343
"peerDependencies": {
44+
"@rspack/core": "0.x || 1.x",
4445
"postcss": "^7.0.0 || ^8.0.1",
4546
"webpack": "^5.0.0"
4647
},
48+
"peerDependenciesMeta": {
49+
"@rspack/core": {
50+
"optional": true
51+
},
52+
"webpack": {
53+
"optional": true
54+
}
55+
},
4756
"dependencies": {
4857
"cosmiconfig": "^9.0.0",
4958
"jiti": "^1.20.0",

0 commit comments

Comments
 (0)