Skip to content

Commit

Permalink
sourcemaps is not a valid option to gulp-sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Feb 25, 2016
1 parent 011320b commit 6f4c2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function dest(outFolder, opt) {

var sourcemapOpt = opt.sourcemaps;
if (typeof sourcemapOpt === 'boolean') {
sourcemapOpt = { sourcemaps: sourcemapOpt };
sourcemapOpt = {};
}

var mapStream = sourcemaps.write(sourcemapOpt.path, sourcemapOpt);
Expand Down

0 comments on commit 6f4c2eb

Please sign in to comment.