Commit 089473a
committed
fix: mark @vue/compiler-sfc as an optional peer dependency
Fixes vuejs/vue-cli#6595
Fixes vuejs/vue-cli#6596
It's not optional actually.
However, in Vue CLI projects for Vue 2, vue-loader v16 is installed but
not used. In that case, the missing peer dependency error should not be
thrown.
There's a dependency check in the entry file anyway.1 parent f063863 commit 089473a
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
0 commit comments