File tree 2 files changed +2
-0
lines changed
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ class VueLoaderPlugin implements webpack.Plugin {
46
46
const vueUse = vueRule . use as webpack . RuleSetLoader [ ]
47
47
// get vue-loader options
48
48
const vueLoaderUseIndex = vueUse . findIndex ( ( u ) => {
49
+ // FIXME: this code logic is incorrect when project paths starts with `vue-loader-something`
49
50
return / ^ v u e - l o a d e r | ( \/ | \\ | @ ) v u e - l o a d e r / . test ( u . loader || '' )
50
51
} )
51
52
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ class VueLoaderPlugin implements Plugin {
134
134
135
135
// get vue-loader options
136
136
const vueLoaderUseIndex = vueUse . findIndex ( ( u ) => {
137
+ // FIXME: this code logic is incorrect when project paths starts with `vue-loader-something`
137
138
return / ^ v u e - l o a d e r | ( \/ | \\ | @ ) v u e - l o a d e r / . test ( u . loader )
138
139
} )
139
140
You can’t perform that action at this time.
0 commit comments