Gulp: Include folder tree, except one folder -
i want gulp.src
include file , folders in src
directory, except src/devpackages
directory, src/devpackages
directory not copied gulp.dest
. how can that? tried gulp.src(['src/**/*', '!src/devpackages/**'])
, gulp.dest
creates src/devpackages
, leaves empty.
gulp.src([ basedir + '/**', // include '!' + basedir + '/src/devpackages{,/**}', // exclude devpackages ], { dot: true });
Comments
Post a Comment