Open LimeBlast opened 9 years ago
Answering my own question, I did it quite easily via the gulp-zip package. You can see my updated gulp file here: https://github.com/BirminghamIO/Formatted-Transput/blob/master/gulpfile.js#L49
If you wanted, I could submit this as a PR?
I'm using MailChimp to send my newsletters, which features the option of uploading a zip file that contains the html and images for the email to be sent. This allows for a single file to be uploaded, rather than messing about uploading individual assets.
I was wondering how easy it would be to automate the process of taking the content of the
build
directory and zipping it up ready to be uploaded? This would remove a step from the process I follow, and make life easier.Thank you.