From 71dd711fd1ac796d5c7d972c61acfe5036df3a40 Mon Sep 17 00:00:00 2001 From: Alexander Akait <4567934+alexander-akait@users.noreply.github.com> Date: Tue, 30 Jan 2024 18:47:58 +0300 Subject: [PATCH] feat: add `@rspack/core` as an optional peer dependency (#537) --- 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",