How to specify in gulp to copy a folder along with the contents, something like? gulp.src ('src / icons / ) For example, you need to drop the icons folder along with all its contents into the build folder. Where can I see the meaning of these characters like /,. , ** etc.?
1 answer
- How to copy the directory with the contents: Create a task in your example with gulp.src ('src / icons /):
gulp.task('copy', function() { gulp.src('src/icon/**/*')//ΠΊΠΎΠΏΠΈΡΡΠ΅Ρ Π²ΡΠ΅ ΡΠΎΠ΄Π΅ΡΠΆΠΈΠΌΠΎΠ΅ Π²ΠΌΠ΅ΡΡΠ΅ Ρ Π²Π»ΠΎΠΆΠ΅Π½ΡΠΌΠΈ ΠΊΠ°ΡΠ°Π»ΠΎΠ³Π°ΠΌΠΈ .pipe(gulp.dest('build')) }); - See the meaning of these characters like /,., **, etc. can be in the documentation (eng)
|