From 3a849fa9cf2285eeca43336b605b8b6931e10c24 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Thu, 20 Jul 2023 21:54:24 +0200 Subject: [PATCH] FOOP --- lib/support/compile-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/support/compile-config.js b/lib/support/compile-config.js index 6de06ab..5176a3e 100644 --- a/lib/support/compile-config.js +++ b/lib/support/compile-config.js @@ -160,9 +160,9 @@ function computeRuleImport(resolver, pkg, rule) { const pkgDir = path.dirname(pkgMain.split(path.sep).join(path.posix.sep)); - return path.normalize(path.join(pkgDir, rule)); + return path.posix.normalize(path.join(pkgDir, rule)); } // absolute reference - return path.normalize(rule); + return path.posix.normalize(rule); } \ No newline at end of file