Skip to content

Commit

Permalink
fix: resolution algorithm (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Aug 4, 2020
1 parent c6d56e4 commit ea73cfa
Show file tree
Hide file tree
Showing 6 changed files with 1,596 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default function getPossibleRequests(
return [
...new Set(
[`${dirname}/_${basename}`, request].concat(
forWebpackResolver ? [url] : []
forWebpackResolver ? [`${path.dirname(url)}/_${basename}`, url] : []
)
),
];
Expand Down
Loading

0 comments on commit ea73cfa

Please sign in to comment.