Answer the question
In order to leave comments, you need to log in
How to replace file paths with gulp?
gulp.task('styles', function () {
return gulp.src(['source/styles/scss/**/*.scss', 'source/include/**/*.scss'])
.pipe(sass())
.pipe(remember('styles'))
.pipe(concat('style.css'))
.pipe(ftp({
host: '',
user: '',
pass: '',
remotePath: ''
}));
});
src: local("Blogger_Sans"), url(../fonts/FiraSansBold/FiraSansBold.ttf);
src: local("Blogger_Sans"), url(/fonts/FiraSansBold/FiraSansBold.ttf);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question