如果文件存在于目标中,我将如何从流中排除文件。或者,我该如何告诉 gulp.dest()
如果文件存在,不要覆盖文件?
最佳答案
gulp 冲突
Check if files in stream conflict with those in target dir, with option to use new, keep old, show diff, etc.
https://www.npmjs.org/package/gulp-conflict/
关于Gulp 从流中排除文件(如果它们存在于目标中),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24568342/