-
Notifications
You must be signed in to change notification settings - Fork 919
Closed
Description
Version
15.7.1
Reproduction link
https://github.com/Lyrkan/repro-vue-loader-webpack5
Steps to reproduce
- Create a project that uses Webpack 5 and vue-loader 15.7.1
- Try to run Webpack
What is expected?
No error
What is actually happening?
Error: Cannot find module 'webpack/lib/RuleSet'
Hi there,
Webpack 5 (that just got into beta) removed the RuleSet class that is currently used by the vue-loader plugin in the following PR: webpack/webpack#9138
This makes any attempt to use the plugin fail with a "Cannot find module webpack/lib/RuleSet" error.
syuilo, danyadev, Kogia-sima, orlov-vo, ryanelian and 3 more