From b8f2ace2ff30ee0e0ad2c2919c9a0f50c90662e4 Mon Sep 17 00:00:00 2001 From: abouolia Date: Thu, 31 Aug 2017 19:10:04 +0200 Subject: [PATCH] =?UTF-8?q?Write=20sourcemap=20in=20separate=20files=20?= =?UTF-8?q?=F0=9F=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gulpfile.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Gulpfile.js b/Gulpfile.js index 936baae..f6c5c6c 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -24,9 +24,7 @@ gulp.task("default", ['babel', 'concat', 'uglify']); gulp.task("babel", function(){ return gulp.src("src/*.js") - .pipe(sourcemaps.init()) .pipe(babel()) - .pipe(sourcemaps.write(".")) .pipe(gulp.dest("dist")); }); @@ -46,7 +44,7 @@ gulp.task('bundle', ['concat'], function(){ format: 'iife', moduleName: 'stickySidebarModule' })) - .pipe(sourcemaps.write()) + .pipe(sourcemaps.write('.')) .pipe(gulp.dest('./dist')); });