bz2 icon indicating copy to clipboard operation
bz2 copied to clipboard

Unable to load with Webpack

Open maufl opened this issue 5 years ago • 0 comments

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?

maufl avatar Nov 06 '20 08:11 maufl