From da818d3c58e77ffa76618c88e3941335358c9e62 Mon Sep 17 00:00:00 2001 From: javad mnjd Date: Sun, 30 Apr 2023 03:21:05 +0330 Subject: [PATCH] fix: Make webpack peer dependencies optional (#104) fix: add peerDependenciesMeta --- package.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6c84890c..6111192f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nuxt-svgo", - "version": "3.0.0", + "version": "3.0.1", "packageManager": "pnpm@8.3.1", "description": "Nuxt module to load optimized SVG files as Vue components", "keywords": [ @@ -69,6 +69,17 @@ "vue-loader": "^17.0.0", "vue-svg-loader": "0.17.0-beta.2" }, + "peerDependenciesMeta": { + "svgo-loader": { + "optional": true + }, + "vue-loader": { + "optional": true + }, + "vue-svg-loader": { + "optional": true + } + }, "pnpm": { "overrides": { "json5@<1.0.2": ">=1.0.2",