I'm wondering why this file is 1.3 MB large even though it has no content anymore. With the content (a few icons, nothing complex) it was 1.4 MB. I was surprised and tried to find the mysteriously complex shape by deleting one after the other. In the end, there was nothing left and the file size hasn't really gone down. The colour space is sRGB, even if the profile was embedded I'd not expect more than a few tens of kB. An SVG export of the whole document is 13 kB.
Maybe a developer could inspect this file and tell me why it needs to be so large and what I can do about it. I have other files here that contain just a few icons (same style) of 40-50 kB. That's a much more reasonable file size.
The original file contains icons that I have designed with Affinity Designer and exported to SVG for use in a web application. It also contains construction layers that I merged for the SVG export. I'd like to add the .afdesign file to the code repository so it's with the app code. But I'm hesitating to check in an image file that more than doubles the repository size.
ItemTypes-2.afdesign