Skip to content

Instantly share code, notes, and snippets.

@morrislaptop
Created January 18, 2016 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morrislaptop/6a3704b78be6cb62883c to your computer and use it in GitHub Desktop.
Save morrislaptop/6a3704b78be6cb62883c to your computer and use it in GitHub Desktop.
var gulpFaker = map(function(code, filename) {
return faker.fake(code.toString());
});
gulp.src(['html/*.html'])
.pipe($.plumber())
.pipe($.fileInclude())
.pipe(gulpFaker)
.pipe(gulp.dest('.'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment