background

  • [email protected] [email protected]The latest one I installed
  • One of the problems encountered by WebPack4 upgrading WebPack5
  • Just after I did a nice, nice upgrade to webpack5, it reported an error….
  • After the error, one operation Google, did not find the solution to the problem, did not search this thing, harm…
  • Finally it was found in vue-Loader

The solution

  1. DescriptionDataMatcherRulePlugin is appear on the inside of the loader vue

  1. Why is it missing in webpack@5? I went to the webpack source code to find it, which is the following picture here, unexpectedly changed the file name, I am confused, and then, the Vue-loader side did not synchronize the modification, hurt

  1. Solution:NPM [email protected] - I DOr wait for vue-loader to update