Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd "module" to package.json build for ES modules #103
Comments
|
Thanks for the feature request. Sounds a good idea, so I'll do in the next few releases. |
Please would it be possible to add a
modulefield in thepackage.jsonfor an ES2019 bundle?https://github.com/rollup/rollup/wiki/pkg.module
At the moment it seems like only
browserandmainare supported, targetingUMDandCommonJSrespectively?At the moment we are using rollup and the line that causes the trouble in bundling (using the
commonJs()rollup plugin) is this one:msgpack-javascript/src/utils/utf8.ts
Line 2 in c969bc9