Skip to content

Instantly share code, notes, and snippets.

@DavidPeralvarez DavidPeralvarez/gulpfile.js Secret

Created Dec 17, 2018
Embed
What would you like to do?
Definición de tareas y el archivo gulpfile.js
var gulp = require('gulp');
gulp.task('nombreTarea', nombreFuncion);
function nombreFuncion(done){
// tarea
console.log("Esto es una función que asignamos a una tarea de Gulp");
done();
}
gulp.task('tarea2', function(done){
console.log("Esto es la tarea 2");
done();
});
gulp.task('default', function(done){
console.log("Esta es la tarea por defecto");
done();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.