Skip to content

Unable to load with Webpack #1

@maufl

Description

@maufl

Hi, i tried to use this library with Webpack, however I'm unable to import the compress method. The reason is that, in Webpack the window object is defined, therefore the bz2 object is defined on the window object and not exported. Maybe this can be solved by always checking whether the module.exports object is defined?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions