Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pouchdb-promise is imported as a module with webpack #60

Open
srolel opened this issue Jul 6, 2018 · 0 comments
Open

pouchdb-promise is imported as a module with webpack #60

srolel opened this issue Jul 6, 2018 · 0 comments

Comments

@srolel
Copy link

srolel commented Jul 6, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant