hi-base32
hi-base32 copied to clipboard
Rollup: Missing Export: 'encode' is not exported
I’m working on a project using Rollup, and getting this compile error:
[ ERROR ] Rollup: Missing Export: src/utils/new-id.js:1:9
'encode' is not exported by node_modules/hi-base32/src/base32.js
L1: import { encode } from 'hi-base32';
I see src/base32.js is an IIFC so that may be what’s giving it trouble.
Any chance we could export an ESM version alongside the main package, say, via pika/pack or something?