From 4315ff62556ba33b3c95f5807f253ca4585f9808 Mon Sep 17 00:00:00 2001 From: Alexander Akait <4567934+alexander-akait@users.noreply.github.com> Date: Tue, 30 Jan 2024 18:45:55 +0300 Subject: [PATCH] feat: add @rspack/core as an optional peer dependency (#407) --- package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package.json b/package.json index cb6e242..56dad2a 100644 --- a/package.json +++ b/package.json @@ -41,9 +41,18 @@ "dist" ], "peerDependencies": { + "@rspack/core": "0.x || 1.x", "stylus": ">=0.52.4", "webpack": "^5.0.0" }, + "peerDependenciesMeta": { + "@rspack/core": { + "optional": true + }, + "webpack": { + "optional": true + } + }, "dependencies": { "fast-glob": "^3.3.2", "normalize-path": "^3.0.0"