Skip to content

Commit 71dd711

Browse files
feat: add @rspack/core as an optional peer dependency (#537)
1 parent c4928a3 commit 71dd711

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

package.json

Lines changed: 9 additions & 0 deletions
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
"less": "^3.5.0 || ^4.0.0",
4546
"webpack": "^5.0.0"
4647
},
48+
"peerDependenciesMeta": {
49+
"@rspack/core": {
50+
"optional": true
51+
},
52+
"webpack": {
53+
"optional": true
54+
}
55+
},
4756
"devDependencies": {
4857
"@babel/cli": "^7.23.4",
4958
"@babel/core": "^7.23.7",

0 commit comments

Comments
 (0)