Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty file within ZIP #87

Open
lukeclifton opened this issue Mar 1, 2017 · 0 comments
Open

Empty file within ZIP #87

lukeclifton opened this issue Mar 1, 2017 · 0 comments

Comments

@lukeclifton
Copy link

lukeclifton commented Mar 1, 2017

If i run this code, everything works fine:

gulp.task('zip-build', function() {
  return gulp.src([
    '../admin/web/css/diamond-matrix-widget.css',
    '../admin/web/js/diamond-matrix-widget.js'
  ])
  .pipe(zip('diamond-matrix-widget.zip'))
  .pipe(gulp.dest('../admin/web'))
});

However if i include the .js file first and .css file after in the src array then the .css file is empty when zipped. Quite strange.

Just thought i'd mention in case its a bug?

Running on:
OSX 10.11.6
gulp 3.9.1
gulp-zip 4.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant