Skip to content

Commit

Permalink
Add zipper todo
Browse files Browse the repository at this point in the history
  • Loading branch information
schlagmichdoch committed Feb 9, 2024
1 parent bb5320f commit ef816f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/scripts/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const zipper = (() => {
let zipWriter;
return {
createNewZipWriter() {
// Todo: put into service worker to save RAM (see https://github.com/gildas-lormeau/zip.js/discussions/392)
zipWriter = new zip.ZipWriter(new zip.BlobWriter("application/zip"), { bufferedWrite: true, level: 0 });
},
addFile(file, options) {
Expand Down

0 comments on commit ef816f9

Please sign in to comment.