Skip to content

Commit

Permalink
Breaking: Remove sources normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jun 17, 2017
1 parent ea56f4c commit 505fad6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ function write(file, destPath, callback) {
// An end-user can use @gulp-sourcemaps/map-file if they need normalization
sourceMap.file = normalizePath(file.relative);

// TODO: should we be normalizing at all?
// An end-user can use @gulp-sourcemaps/map-sources if they need normalization
sourceMap.sources = sourceMap.sources.map(function(filePath) {
return normalizePath(filePath);
});

// TODO: support null-ish with ==
if (sourceMap.sourceRoot === null) {
sourceMap.sourceRoot = undefined;
Expand Down

0 comments on commit 505fad6

Please sign in to comment.