Commit 701dcfd
authored
Use dynamic imports for jszip (#5593)
Once we switch to esbuild, this will fix #817. With Webpack it doesn't
appear to quite do it, maybe because of the type imports.
Bundle chunking with esbuild after this fix:
<img width="3120" height="1600" alt="Screenshot 2025-09-04 at 10 42
21 AM"
src="https://github.com/user-attachments/assets/d1579b79-4052-408e-9adf-25def19f74e5"
/>1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
| 1048 | + | |
1048 | 1049 | | |
1049 | 1050 | | |
1050 | 1051 | | |
| |||
1235 | 1236 | | |
1236 | 1237 | | |
1237 | 1238 | | |
| 1239 | + | |
1238 | 1240 | | |
1239 | 1241 | | |
1240 | 1242 | | |
| |||
0 commit comments