From a32a9d5c71bb47149a1f91fab52d2551ca36c198 Mon Sep 17 00:00:00 2001 From: TropicalRaisel <87331818+TropicalRaisel@users.noreply.github.com> Date: Sun, 12 Sep 2021 12:24:12 -0700 Subject: [PATCH 1/2] Updated the webpack peer dependency Should stay at 5 since it is officially supported --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a2e7be09..06931355 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "peerDependencies": { "rollup": "^2.50.0", "vite": "^2.3.0", - "webpack": "^4.0.0" + "webpack": "^5.0.0" }, "peerDependenciesMeta": { "rollup": { From fdea4acbe7198e9556df7dcc662b8fcf042827e7 Mon Sep 17 00:00:00 2001 From: TropicalRaisel <87331818+TropicalRaisel@users.noreply.github.com> Date: Sun, 12 Sep 2021 18:10:30 -0700 Subject: [PATCH 2/2] Support both Webpack 4 & 5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 06931355..a4774781 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "peerDependencies": { "rollup": "^2.50.0", "vite": "^2.3.0", - "webpack": "^5.0.0" + "webpack": "4 || 5" }, "peerDependenciesMeta": { "rollup": {