Skip to content

Commit 47f5ca3

Browse files
committed
Updating missing-loader for changing vue internal file syntax
1 parent 1b393eb commit 47f5ca3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/friendly-errors/transformers/missing-loader.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ function isErrorFromVueLoader(filename) {
3535
if (/vue-loader\/dist(\/index\.js)?\?\?/.test(filename)) {
3636
return true;
3737
}
38+
// later vue3 variant
39+
if (filename.includes('?vue') && filename.includes('lang=')) {
40+
return true;
41+
}
3842

3943
return false;
4044
}

0 commit comments

Comments
 (0)