Skip to content

Instantly share code, notes, and snippets.

@Gernene Gernene/gulpfile.js Secret
Created Jun 12, 2019

What would you like to do?
"MS Teams: Automating Manifest Generation" code snipppet
const gulp = require('gulp');
const zip = require('gulp-zip');
const del = require('del');
gulp.task('clean', function(done) {
return del([
], done);
gulp.task('generate-manifest', function(done) {
gulp.src(['src/static/images/logo*', 'manifest.json']) // Get relevant images from specified folder, change as needed
.pipe(gulp.dest('manifest'), done);
gulp.task('default', gulp.series('clean', 'generate-manifest'), function(done) {
console.log('Build completed. Output in manifest folder');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.