From 419fc564d09c732f4f88ac7cd3cbd4fa47a729c1 Mon Sep 17 00:00:00 2001 From: Thomas Darling Date: Tue, 26 Sep 2017 19:00:20 +0200 Subject: [PATCH] Fix incorrect source path normalization, when the path is either rooted in a drive letter or a file url. --- lib/sourcemaps.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/lib/sourcemaps.js b/lib/sourcemaps.js index 9b81d9a..c3934c7 100644 --- a/lib/sourcemaps.js +++ b/lib/sourcemaps.js @@ -45,7 +45,17 @@ exports.concatenateSourceMaps = function(outFile, mapsWithOffsets, basePath, sou if (sourceMapContents && map.sourcesContent) { for (var i=0; i