Skip to content

Commit

Permalink
Updating missing-loader for changing vue internal file syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed May 13, 2020
1 parent 1b393eb commit 47f5ca3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/friendly-errors/transformers/missing-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ function isErrorFromVueLoader(filename) {
if (/vue-loader\/dist(\/index\.js)?\?\?/.test(filename)) {
return true;
}
// later vue3 variant
if (filename.includes('?vue') && filename.includes('lang=')) {
return true;
}

return false;
}
Expand Down

0 comments on commit 47f5ca3

Please sign in to comment.