Answer the question
In order to leave comments, you need to log in
How to set up gulp-inline?
Good evening!
I take the mana: gulp-inline , set it up and think that base: 'public/inline' will tell gulp-inline which files to embed, but for some reason this does not happen and it embeds all files included in html :(
gulp.task('inline', ['views', 'inline:styles', 'inline:scripts'], function() {
gulp.src('public/views/index.html')
.pipe(inline({
base: 'public/inline/'
})).pipe(gulp.dest('public/views/index2'));
});
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