Skip to content

Commit

Permalink
fix: resolution algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Aug 4, 2020
1 parent c6d56e4 commit 2cabf08
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
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

0 comments on commit 2cabf08

Please sign in to comment.