Skip to content

Commit

Permalink
Fix: Remove invalid sourcemaps option passed to gulp-sourcemaps
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Nov 30, 2017
1 parent 88102fe commit f3242e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dest/index.js
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 f3242e7

Please sign in to comment.