Пример #1
0
gulp.task("test", function() {
  gulp.src("./test/view/*.js")
    .pipe(phantom({
      ext: ".json"
    }))
    .pipe(gulp.dest("./test/data/"));
});
Пример #2
0
 gulp.task('phantom', () => {
     gulp.src('./phantom/tasks/*.js')
         .pipe(phantom())
         .pipe(gulp.dest("./data/"));
 });