Skip to content

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

@srolel

Description

@srolel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions