Skip to content

Commit

Permalink
Breaking: Remove file normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Jun 17, 2017
1 parent 505fad6 commit 312be82
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
@@ -1,7 +1,6 @@
'use strict';

var File = require('vinyl');
var normalizePath = require('normalize-path');

var helpers = require('./lib/helpers');

Expand Down Expand Up @@ -56,11 +55,6 @@ function write(file, destPath, callback) {

var sourceMap = file.sourceMap;

// fix paths if Windows style paths
// TODO: should we be normalizing at all?
// An end-user can use @gulp-sourcemaps/map-file if they need normalization
sourceMap.file = normalizePath(file.relative);

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

0 comments on commit 312be82

Please sign in to comment.