Skip to content

Commit 9182338

Browse files
committed
Fix usage of enhanced-resolve
1 parent 2945a4e commit 9182338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vue-dependency-provider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class VueDependencyProvider {
118118
private resolve(request, path): string {
119119
try{
120120
const moduleDirectory = dirname(path);
121-
const absPath = this.myResolver(undefined, moduleDirectory, request);
121+
const absPath = this.myResolver({}, moduleDirectory, request);
122122
return relative(moduleDirectory, absPath);
123123
}
124124
catch {

0 commit comments

Comments
 (0)