Skip to content

Commit e12884b

Browse files
haoqunjiangfreddy38510
authored andcommitted
fix: add vue and @vue/compiler-sfc to optional peerDependencies
Closes vuejs#1944 Should also closes pnpm/pnpm#4941
1 parent 91d3b1a commit e12884b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
"peerDependencies": {
4141
"webpack": "^4.1.0 || ^5.0.0-0"
4242
},
43+
"peerDependenciesMeta": {
44+
"@vue/compiler-sfc": {
45+
"optional": true
46+
},
47+
"vue": {
48+
"optional": true
49+
}
50+
},
4351
"devDependencies": {
4452
"@babel/core": "^7.7.7",
4553
"@babel/preset-env": "^7.11.5",

0 commit comments

Comments
 (0)