Skip to main content

Bundle size

What each consumer ships, bundled from source with esbuild (minified, tree-shaken, ESM). npm run size measures it and fails when this table no longer matches; npm run size:write rewrites it.

ConsumerMinifiedMinified + gzip
Everything @oimdb/core exports124441 B28548 B
One entity store slot: OIMDB, createOIMSlotCollectionService, createOIMEntityContentService, writeSlotContentByKey, getSlotByKey54821 B13592 B
The same, plus one effect and db.flush()54851 B13612 B
The same, plus one index: createOIMSlotCollectionIndexService78080 B18823 B
An ordered bucket with commands: OIMPositionalArrayBucketContentService, OIMBucketCommands69382 B16798 B