Closed AndreasThumfart closed 4 years ago
As the title says, files which only have and ending, but no actual name, like .txt, .xml or .config are ignored during packaging.
Error is reproducable the following way: File structure: Folder "test" with two files: ".txt" and "test.txt"
Command used: gulp.src("./test/**") .pipe(zip("test.zip")) .pipe(gulp.dest("."))
Zip file "test.zip" including the file "test.txt" is created. File ".txt" is missing.
You want the dot option: https://gulpjs.com/docs/en/api/src
dot
Thanks, that solves my problem!
As the title says, files which only have and ending, but no actual name, like .txt, .xml or .config are ignored during packaging.
Error is reproducable the following way: File structure: Folder "test" with two files: ".txt" and "test.txt"
Command used: gulp.src("./test/**") .pipe(zip("test.zip")) .pipe(gulp.dest("."))
Zip file "test.zip" including the file "test.txt" is created. File ".txt" is missing.