Closed trickydisco78 closed 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?
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?