Skip to content

Commit

Permalink
Bugfix: Do not try to normalize absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiozen committed Jan 19, 2017
1 parent b64259c commit ef9f499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/pathHelper.js
Expand Up @@ -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
Expand Down

0 comments on commit ef9f499

Please sign in to comment.