为什么我这样导出的还是.ejs
gulp.task('ejs', function() {
gulp.src('html/index.ejs')
.pipe(ejs({},{ext: '.html'}))
.pipe(gulp.dest('./dist'));
});
智慧大石
相关分类