Skip to content

Commit

Permalink
fix: #15580
Browse files Browse the repository at this point in the history
Fixes #15580
  • Loading branch information
Tofandel committed Mar 24, 2022
1 parent 86a8bd9 commit f8a427c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dependencies/RequireContextPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class RequireContextPlugin {
if (fullPath.startsWith(dir)) {
newItems.push({
context: item.context,
request: fullPath.slice(dir.length + 1)
request: item.request.slice(1)
});
}
}
Expand Down

0 comments on commit f8a427c

Please sign in to comment.