No distributable provided for import/require
See original GitHub issueUsually, a library delivered over npm provides a built version that another module can directly consume with import or require. This is usually done by pointing main in package.json to a file within the source bundle. If I’m understanding #44, this is the same problem they are facing - although jsDelivr is not a standard key in package.json so is not the proper solution.
To fix this, either (a) the distributable needs to be included in the source bundle uploaded to npm, (b) the package needs to be built by import/require instead of concatenation, or - ideally - © both!
(a) is the easiest and requires the least restructuring, and the simplicity of this library means (b) probably isn’t too far off as well. If you’re looking for assistance, happy to make a PR (although it may seem drastic)
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)

Top Related StackOverflow Question
Hey thanks a lot for the PR! I hope I get to try and review it till the end of this week.
I’ve looked into
rolluptoo, because d3 is using it. I have no personal preference forrolluporwebpackbecause I haven’t really used either of them. I hope we’ll get this resolved soon. Thanks again for your effort!I just created release 3.0.0. So I’ll close this issue. If something is not working as expected, please let me know. Thanks again for your help in making this happen!