コード例 #1
0
ファイル: gulpfile.js プロジェクト: lion-man44/test-vue.js
gulp.task("test", function() {
  gulp.src("./test/view/*.js")
    .pipe(phantom({
      ext: ".json"
    }))
    .pipe(gulp.dest("./test/data/"));
});
コード例 #2
0
ファイル: phantom.js プロジェクト: quintenm/mma.local
 gulp.task('phantom', () => {
     gulp.src('./phantom/tasks/*.js')
         .pipe(phantom())
         .pipe(gulp.dest("./data/"));
 });