Closed TehShrike closed 6 years ago
I think I made a mistake by adding the browser/CommonJS entry point in the first place.
Having the browser field point to a CommonJS build keeps ESM-aware bundlers from going to the "module" field like we want them to.
For the non-ESM bundlers, the UMD build only adds a couple hundred bytes or so.
I think this should be published as a patch release.
Could I get a merge/publish? I'm really wanting to use tree-shaking...
Published as chromatism2 for now
chromatism2
I think I made a mistake by adding the browser/CommonJS entry point in the first place.
Having the browser field point to a CommonJS build keeps ESM-aware bundlers from going to the "module" field like we want them to.
For the non-ESM bundlers, the UMD build only adds a couple hundred bytes or so.
I think this should be published as a patch release.