You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are right the size is all the schema related information. Because there are about 4 different versions of IFC in circulation at the moment and each has a separate schema. I have reduced the size by several Mb over the last few months - but am out of ideas at this point for reducing it further. Except:
Having the schema downloaded dynamically from a CDN - but I am not sure if this will actually help people that much, because if you are building a general app you will likely encounter all the files anyway.
Again bundling specific versions of the schema seperately - so you can build an app for a specific given version - but I don't think this matches many people use cases
What is your idea?
I honestly didn't spent much time investigating why this is happening yet (tbd).
Shipping 5Mb (excl. wasm) for a minimal viewer app is insane, eg. bundled with astro/vite defaults:
Tree shaking doesn't seem to work. I'm hoping this can be fixed/improved by changing the way the schema-generator works.
References
#495
The text was updated successfully, but these errors were encountered: