upsert icon indicating copy to clipboard operation
upsert copied to clipboard

pouchdb-promise is imported as a module with webpack

Open srolel opened this issue 6 years ago • 0 comments

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.

srolel avatar Jul 06 '18 06:07 srolel