Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/kasper9n/taskler. Simple text editor for your New Tab page taskler.kasper.space
Something went wrong. Try again.
1234567891011121314const fs = require('fs');const gulp = require('gulp');const zip = require('gulp-zip');
gulp.task('zip', async () => { const manifest = JSON.parse(fs.readFileSync('manifest.json')); const zipFilename = `${manifest.name}-${manifest.version}-chrome-firefox.zip`; console.log(`dist/${zipFilename}`); return gulp .src('build/extension/**/*') .pipe(zip(zipFilename)) .pipe(gulp.dest('dist'));});