Skip to content

Commit 6ecf0b3

Browse files
Add zipper todo
1 parent e99a616 commit 6ecf0b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

public/scripts/util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ const zipper = (() => {
8585
let zipWriter;
8686
return {
8787
createNewZipWriter() {
88+
// Todo: put into service worker to save RAM (see https://github.com/gildas-lormeau/zip.js/discussions/392)
8889
zipWriter = new zip.ZipWriter(new zip.BlobWriter("application/zip"), { bufferedWrite: true, level: 0 });
8990
},
9091
addFile(file, options) {

0 commit comments

Comments
 (0)