Skip to content

Commit

Permalink
fix: drop double posix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Jul 21, 2023
1 parent 7dd16fc commit 225102a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/support/compile-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function computeRuleImport(resolver, pkg, rule) {
if (rule.startsWith('.')) {
const pkgDir = path.dirname(resolver.require.resolve(pkg));

return path.posix.normalize(`${ pkgDir }/${ rule }`);
return path.normalize(`${ pkgDir }/${ rule }`);
}

// absolute reference
Expand Down

0 comments on commit 225102a

Please sign in to comment.