Skip to content

Commit

Permalink
fix: use optionalDependencies instead of peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Sep 21, 2021
1 parent 80e68ee commit 4cc6686
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,9 @@
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0"
},
"peerDependencies": {
"optionalDependencies": {
"rollup": "^2.50.0",
"vite": "^2.3.0",
"webpack": "4 || 5"
},
"peerDependenciesMeta": {
"rollup": {
"optional": true
},
"vite": {
"optional": true
},
"webpack": {
"optional": true
}
}
}

0 comments on commit 4cc6686

Please sign in to comment.