tldraw/packages
Mitja Bezenšek 0c9e8d323e
Filter out unused assets. (#1502)
Prunes unused assets when exporting to a file.

### Change Type

- [x] `patch` — Bug Fix

### Test Plan

1. Insert an image.
2. Delete the image.
3. Save to file.
4. The saved file should not have the asset record present.
5. The file size should also be quite small (around 2kb for a file with
no shapes).

### Release Notes

- Optimize file size of exported files.
2023-06-02 21:43:51 +00:00
..
assets [3/3] Highlighter styling (#1490) 2023-06-01 15:34:59 +00:00
editor rename app to editor (#1503) 2023-06-02 15:21:45 +00:00
file-format Filter out unused assets. (#1502) 2023-06-02 21:43:51 +00:00
indices rename app to editor (#1503) 2023-06-02 15:21:45 +00:00
polyfills avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
primitives replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
tldraw rename app to editor (#1503) 2023-06-02 15:21:45 +00:00
tlschema Cleanup @tldraw/ui types / exports (#1504) 2023-06-02 21:16:09 +00:00
tlstore [feature] Easier store persistence API + persistence example (#1480) 2023-05-30 15:22:49 +00:00
tlvalidate avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
ui Cleanup @tldraw/ui types / exports (#1504) 2023-06-02 21:16:09 +00:00
utils Stricter ID types (#1439) 2023-05-24 11:25:41 +00:00