Open peterhirn opened 3 days ago
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:
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
https://github.com/ThatOpen/engine_web-ifc/issues/495