Skip to content

Commit 6f4c2eb

Browse files
committed
sourcemaps is not a valid option to gulp-sourcemaps
1 parent 011320b commit 6f4c2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dest/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function dest(outFolder, opt) {
3232

3333
var sourcemapOpt = opt.sourcemaps;
3434
if (typeof sourcemapOpt === 'boolean') {
35-
sourcemapOpt = { sourcemaps: sourcemapOpt };
35+
sourcemapOpt = {};
3636
}
3737

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

0 commit comments

Comments
 (0)