Skip to content

Commit

Permalink
chore(alias): fix TS error in function call
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Oct 27, 2020
1 parent 2416ce7 commit d04778c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/alias/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function alias(options: RollupAliasOptions = {}): Plugin {

const customResolver = getCustomResolver(matchedEntry, options);
if (customResolver) {
return customResolver.call(this, updatedId, importerId);
return customResolver.call(this, updatedId, importerId, {});
}

return this.resolve(updatedId, importer, { skipSelf: true }).then((resolved) => {
Expand Down

0 comments on commit d04778c

Please sign in to comment.