fix: correct import paths for TypeScript compilation

- Add .js extension to entityIdMapper baseStorage import
- Change roaring imports from subpath to main package export
- Use import { RoaringBitmap32 } from 'roaring' for ESM compatibility
This commit is contained in:
David Snelling 2025-10-13 16:40:50 -07:00
parent 2f6ab9559a
commit aeffd32fe0
5 changed files with 5 additions and 5 deletions

View file

@ -7,7 +7,7 @@
* Run with: NODE_OPTIONS='--max-old-space-size=8192' npx tsx tests/performance/roaring-bitmap-benchmark.ts
*/
import RoaringBitmap32 from 'roaring/RoaringBitmap32'
import { RoaringBitmap32 } from 'roaring'
import { v4 as uuidv4 } from 'uuid'
// Benchmark configuration