From dfbee20d1d76da63336937d7edf137d7f50b722a Mon Sep 17 00:00:00 2001 From: Jakob Rosenberg Date: Sun, 29 Dec 2024 11:57:51 +0100 Subject: [PATCH] fix: vite-plugin-svelte should be a peer dependency --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b422dab1..19e4db01 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,6 @@ "typescript": "^5.4.5" }, "dependencies": { - "@sveltejs/vite-plugin-svelte": "^2.4.6", "cachewrap": "^0.0.1", "cheap-watch": "^1.0.4", "cheerio": "^1.0.0", @@ -124,7 +123,8 @@ "spank": "^2.0.0", "vite": "^3.2.4 || ^4.0.0 || ^5.0.0 || ^6.0.0", "@roxi/routify": "^3.0.0-next.0", - "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0" + "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0", + "@sveltejs/vite-plugin-svelte": "^2.4.6 || ^3.0.0 || ^4.0.0 || ^5.0.0" }, "peerDependenciesMeta": { "vite": { @@ -132,6 +132,12 @@ }, "spank": { "optional": true + }, + "@sveltejs/vite-plugin-svelte": { + "optional": true + }, + "@roxi/routify": { + "optional": true } }, "prettier": {