vigetlabs / blendid

A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder
MIT License
4.97k stars 683 forks source link

additional tasks not working #512

Closed trickydisco78 closed 6 years ago

trickydisco78 commented 6 years ago

I'm trying to add an additional gulp task.

}, additionalTasks: { initialize(gulp, PATH_CONFIG, TASK_CONFIG) { gulp.task('copy', function() { return gulp.src('./src/js/*.js').pipe(gulp.dest('./build/js/')); }); }, development: { prebuild: ['copy'], postbuild: null }, production: { prebuild: null, postbuild: ['copy'] } },

All i want to do is copy some js files from source to a build folder but it's not working. I've tried changing the src and dest folder references but nothing works?