Unable to load with Webpack #1

Open
opened 2020-11-06 08:16:48 +00:00 by maufl · 0 comments
maufl commented 2020-11-06 08:16:48 +00:00 (Migrated from github.com)

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?

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?
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/bz2#1
No description provided.