diff --git a/src/lib/io.ts b/src/lib/io.ts index 83b5975..990b127 100644 --- a/src/lib/io.ts +++ b/src/lib/io.ts @@ -26,9 +26,13 @@ export async function exportBoard(): Promise<{ success: boolean; error?: string } } - zip.file('manifest.json', JSON.stringify(exportManifest, null, 2)); + zip.file('manifest.json', JSON.stringify(exportManifest)); - const blob = await zip.generateAsync({ type: 'blob' }); + const blob = await zip.generateAsync({ + type: 'blob', + compression: 'DEFLATE', + compressionOptions: { level: 9 } + }); const url = URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url;