Open severo opened 3 days ago
A lot of that is react?
cd packages/utils
npx vite-bundle-visualizer
Without react it's much smaller. I suspect we should be excluding react from components and utils bundles? Maybe by making it a peer dependency explicitly?
Without react it would look more like this, with most of the size in hyparquet-compressors
A good chunk of the remaining is for hyparquet-compressors
which has decompressors for brotli which unfortunately have pretty big lookup table which doesn't compress. We could potentially load async when needed, since most parquet files use snappy compression and others are rare.
Awesome analysis! It will be easier to fix the issue.
The bundles are too big!
utils:
components:
hightable-demo:
hyparquet-demo
cli: