gulp-append-prepend
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "gulp-append-prepend", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A simple gulp plugin to append and prepend files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,7 +18,7 @@ # gulp-append-prepend | ||
gulp.task('myawesometask', function(){ | ||
gulp.src('index.html') | ||
.pipe(gap.appendFile('header.html')) | ||
.pipe(gap.appendText('<!-- HEADER -->')) | ||
.pipe(gap.prependText('<!-- FOOTER -->')) | ||
.pipe(gap.prependFile('footer.html')) | ||
gulp.src('index.html') | ||
.pipe(gap.prependFile('header.html')) | ||
.pipe(gap.prependText('<!-- HEADER -->')) | ||
.pipe(gap.appendText('<!-- FOOTER -->')) | ||
.pipe(gap.appendFile('footer.html')) | ||
.pipe(gulp.dest('www/')); | ||
@@ -25,0 +25,0 @@ }); |
5663