For each module I have some files that need to be copied over to the build directory, and am looking for a way to minimize the repeated code from this:
gulp
copy files in parallel
gulp.task('copy', gulp.parallel( () => gulp.src('*.json').pipe(gulp.dest('build/')), () => gulp.src('*.ico').pipe(gulp.dest('build/')), () => gulp.src('img/**/*').pipe(gulp.dest('build/img/')), ) );