Skip to content
This repository was archived by the owner on Jun 25, 2025. It is now read-only.

Commit cd378bb

Browse files
Add sourcemaps to the tmp folder
1 parent 8e030e1 commit cd378bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gulpfile.babel.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ gulp.task('styles', () => {
9898
.pipe($.if('*.css', $.cssnano()))
9999
.pipe($.size({title: 'styles'}))
100100
.pipe($.sourcemaps.write('./'))
101-
.pipe(gulp.dest('dist/styles'));
101+
.pipe(gulp.dest('dist/styles'))
102+
.pipe(gulp.dest('.tmp/styles'));
102103
});
103104

104105
// Concatenate and minify JavaScript. Optionally transpiles ES2015 code to ES5.
@@ -123,6 +124,7 @@ gulp.task('scripts', () =>
123124
.pipe($.size({title: 'scripts'}))
124125
.pipe($.sourcemaps.write('.'))
125126
.pipe(gulp.dest('dist/scripts'))
127+
.pipe(gulp.dest('.tmp/scripts'))
126128
);
127129

128130
// Scan your HTML for assets & optimize them

0 commit comments

Comments
 (0)