Closed
Description
I converted itemsjs
to ES modules and use microbundle to bundle it for npm. ES bundle works ok. But umd bundle throws an error
Uncaught TypeError: u.default is not a function
I checked generated UMD, it seems u.default
is referring to lunr
. lunr itself is published as UMD. I guess this is an issue, but hard to tell
git clone https://github.com/stereobooster/itemsjs
git checkout js
npm ci
npm run build
Related: itemsapi/itemsjs#135
Metadata
Metadata
Assignees
Labels
No labels