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

Commit c864df4

Browse files
committed
Rework sourcemap output to fix breaking builds
1 parent da0f6f3 commit c864df4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gulpfile.babel.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,11 @@ gulp.task('styles', () => {
9494
precision: 10
9595
}).on('error', $.sass.logError))
9696
.pipe($.autoprefixer(AUTOPREFIXER_BROWSERS))
97-
.pipe($.sourcemaps.write())
9897
.pipe(gulp.dest('.tmp/styles'))
9998
// Concatenate and minify styles
10099
.pipe($.if('*.css', $.minifyCss()))
101100
.pipe($.size({title: 'styles'}))
102-
.pipe($.sourcemaps.write('.'))
101+
.pipe($.sourcemaps.write('./'))
103102
.pipe(gulp.dest('dist/styles'));
104103
});
105104

0 commit comments

Comments
 (0)