upsert
upsert copied to clipboard
pouchdb-promise is imported as a module with webpack
I'm using webpack, and when importing upsert's pouchdb-promise dependency, it imports pouchdb-promise/lib/index.es.js
, which exports a module (where Promise is module.default and not module), which breaks upsert.
The solution would be not exporting different APIs from index.js and index.es.js in pouchdb-promise but I can't find the repo for it.