Open
Description
Version
15.8.3
Reproduction link
https://github.com/ryanelian/vue-loader-bug
Steps to reproduce
Add this line before vue-loader in webpack 5 configuration.
{
test: /\.html?$/,
loader: 'html-loader'
},
What is expected?
No error.
What is actually happening?
⬢ webpack: Error: [VueLoaderPlugin Error] No matching use for vue-loader is found.
Make sure the rule matching .vue files include vue-loader in its use.
This is almost exactly the same as a past issue: #1246
But this time it's webpack 5.