vue-loader icon indicating copy to clipboard operation
vue-loader copied to clipboard

add vue 3.2.13+ as peer dependency

Open cool-little-fish opened this issue 2 years ago • 1 comments

Hi @yyx990803 , I find that vue/compiler-sfc was required explicitly in vue-loader 17+ in line, but when I install vue-loader separately, it did not give me note that vue 3.2.13+ was required (cuz after vue 3.2.13+, @vue/compiler-sfc was installed with it, so compiler-sfc module can be imported with name vue/compiler-sfc). So I make this pr, hope that others won't get same problem.

cool-little-fish avatar Mar 25 '22 16:03 cool-little-fish

It's also missing an optional peer dependency on @vue/compiler-sfc which was removed as a peer dependency in https://github.com/vuejs/vue-loader/commit/21725a4ebc9c8d7f8a590d700017759327e21c2e even though it's still in use https://github.com/vuejs/vue-loader/blob/6a293dff5f2ed3167eb3b448f1d714091185a44e/src/compiler.ts#L18.

merceyz avatar Apr 24 '22 10:04 merceyz

Sorry that I have overlooked this repo for a long time. Didn't know this issue even got into Yarn's compatibility database 🤦‍♂️ Now fixed in v17.0.1.

haoqunjiang avatar Oct 28 '22 15:10 haoqunjiang