Fix image encoding issue during packaging

This commit is contained in:
Cooper Dalrymple
2025-10-29 14:03:28 -05:00
parent 79aa3c4a7b
commit 33fb0456a1

View File

@@ -46,14 +46,18 @@ gulp.task('package-copy', () => {
'readme.txt'
], {
base: './',
allowEmpty: true
allowEmpty: true,
encoding: false,
})
.pipe(filter((file) => !file.path.includes('/node_modules')))
.pipe(gulp.dest(`./${NAME}/`));
});
gulp.task('package-zip', () => {
return gulp.src(`${NAME}/**/*`, { base: './' })
return gulp.src(`${NAME}/**/*`, {
base: './',
encoding: false,
})
.pipe(zip(`${NAME}.zip`))
.pipe(gulp.dest('./'));
});