Skip to content

Commit 8c9a967

Browse files
authored
fix: Update gulpfile to set image encoding as false (#92)
The EME Logger extension uses gulp to build and package the files, but the icons are not being encoded properly, leading to the error: "Could not decode image". The issue is during Chrome Web Store's upload process, it does not detect this image error, but during the distribution process, the CWS throws errors, and does not update the extension. This is caused from gulp jumping over in this commit: a643d50 Now, testing this out, the images are encoded properly, and CWS is able to read it.
1 parent ac60f58 commit 8c9a967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function packageExtension() {
3434
'*.html',
3535
'*.js',
3636
'!gulpfile.js',
37-
], {base: './'});
37+
], {base: './', encoding: false});
3838

3939
return sources
4040
.pipe(rename((path) => {

0 commit comments

Comments
 (0)