From 5f2dd2b6685aa26bf053d32910bbe16cdd653e01 Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Tue, 30 Jan 2024 18:38:01 +0300 Subject: [PATCH] feat: add @rspack/core as an optional peer dependency --- package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package.json b/package.json index 7b697d1..5774cb6 100644 --- a/package.json +++ b/package.json @@ -41,9 +41,18 @@ "dist" ], "peerDependencies": { + "@rspack/core": "0.x || 1.x", "less": "^3.5.0 || ^4.0.0", "webpack": "^5.0.0" }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + }, "devDependencies": { "@babel/cli": "^7.23.4", "@babel/core": "^7.23.7",