From 05f00b23d26b90f564710db4364426e90c8d6831 Mon Sep 17 00:00:00 2001 From: Razboy20 Date: Wed, 16 Oct 2024 17:13:44 -0500 Subject: [PATCH] fix: gulp zip (#314) --- gulpfile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 3548561a..cb40c3c2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -10,7 +10,12 @@ function zip() { const manifest = require('./package.json'); const zipFileName = `${manifest.name.replaceAll(' ', '-')}-${manifest.version}.zip`; - return gulp.src('dist/**').pipe(gulpZip(zipFileName)).pipe(gulp.dest('package')); + return gulp + .src('dist/**', { + encoding: false, + }) + .pipe(gulpZip(zipFileName)) + .pipe(gulp.dest('package')); } // Temp fix for CSP on Chrome 130