Closed minwe closed 9 years ago
What does your gulpfile look like?
Sorry, it's my mistake. Thanks.
├── README.md
├── dist
│ └── D3JS.docset
└── gulpfile.js
Not Working
gulp.task('default', function() {
return gulp.src('dist/*')
.pipe(zip('test.zip'))
.pipe(gulp.dest('./'));
});
Working:
gulp.task('default', function() {
return gulp.src('dist/**/*')
.pipe(zip('test.zip'))
.pipe(gulp.dest('./'));
});
I use it to zip a folder, there is a folder named
filename.docset
in this folder, it not works (do nothing).For example, it's like https://github.com/exlee/d3-dash-gen
D3JS.docset
.What's wrong?