File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 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 {
4646 const vueUse = vueRule . use as webpack . RuleSetLoader [ ]
4747 // get vue-loader options
4848 const vueLoaderUseIndex = vueUse . findIndex ( ( u ) => {
49+ // FIXME: this code logic is incorrect when project paths starts with `vue-loader-something`
4950 return / ^ v u e - l o a d e r | ( \/ | \\ | @ ) v u e - l o a d e r / . test ( u . loader || '' )
5051 } )
5152
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ class VueLoaderPlugin implements Plugin {
134134
135135 // get vue-loader options
136136 const vueLoaderUseIndex = vueUse . findIndex ( ( u ) => {
137+ // FIXME: this code logic is incorrect when project paths starts with `vue-loader-something`
137138 return / ^ v u e - l o a d e r | ( \/ | \\ | @ ) v u e - l o a d e r / . test ( u . loader )
138139 } )
139140
You can’t perform that action at this time.
0 commit comments