Skip to content

Commit

Permalink
Fix Webpack 'vue-loader' Module not found error
Browse files Browse the repository at this point in the history
Version 15.9.7 has a bug where Webpack cannot find the module: vuejs/vue-loader#1859

I have run into this MODULE_NOT_FOUND bug just about every time that I upgrade one of my older projects to Laravel Mix 6. Version 15.9.8 fixes that: https://github.com/vuejs/vue-loader/releases?q=v15.9.8&expanded=true
  • Loading branch information
BrandonSurowiec committed Jun 8, 2022
1 parent b33f7c5 commit cd49663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Vue.js
Expand Up @@ -64,7 +64,7 @@ module.exports = class Vue extends Component {

let dependencies = [
this.version === 2 ? 'vue-template-compiler' : '@vue/compiler-sfc',
this.version === 2 ? 'vue-loader@^15.9.7' : 'vue-loader@^16.2.0'
this.version === 2 ? 'vue-loader@^15.9.8' : 'vue-loader@^16.2.0'
];

if (this.options.extractStyles && this.options.globalStyles) {
Expand Down

0 comments on commit cd49663

Please sign in to comment.