Skip to content

Commit

Permalink
fix: Make webpack peer dependencies optional (#104)
Browse files Browse the repository at this point in the history
fix: add peerDependenciesMeta
  • Loading branch information
jd1378 authored Apr 29, 2023
1 parent 7b125c7 commit da818d3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit da818d3

Please sign in to comment.