From ef9f499b42bd6a6c1eda2002c4d34de5d4c2de2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssio=20Zen?= Date: Thu, 19 Jan 2017 13:31:44 -0200 Subject: [PATCH] Bugfix: Do not try to normalize absolute paths --- src/lib/pathHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/pathHelper.js b/src/lib/pathHelper.js index cc8a7ab2..57bb0031 100644 --- a/src/lib/pathHelper.js +++ b/src/lib/pathHelper.js @@ -6,7 +6,7 @@ export function resolvePath(path, basePath) { // eslint-disable-line if (!path) return null; // It's an absolute path. - if (absolutePath.test(path)) return normalizePath(path); + if (absolutePath.test(path)) return path; if (path.indexOf('/') === -1) { // It's a single file name, no directories. Prepend public folder