-
-
Notifications
You must be signed in to change notification settings - Fork 555
Open
Description
Hi,
It seems that the built index.cjs and index.mjs files available on NPM depend on the "buffer" package:
line 12907 of index.mjs:

The buffer package is not declared as a dependency in package.json. Its a very commonly used dependency, so up until recently, we had it available through other dependencies, as I imagine many others have, but we don't any longer, leading to build errors when attempting to bundle for browsers:

It's very easy to work-around - just add a dependency to buffer yourself - but it would be nice to have it declared in package.json of docx.js, so it just works :-)
I'll happily submit a PR if you agree with the suggestion.
rakleed and SebastianKohler
Metadata
Metadata
Assignees
Labels
No labels