sentinelhub-js
sentinelhub-js copied to clipboard
UMD build defined in package.json, but missing in published npm package
package.json defines
"browser": "dist/sentinelHub.umd.js"
however there is no dist/sentinelHub.umd.js in the final package published to NPM.
Looking at rollup.config.js, it seems that rollup is not configured to build UMD at all.
This can potentially break building processes of users that depend on sentinelhub-js and expect the UMD module to exist in the npm package (based on the information provided in package.json).
What should be done is either:
- remove
browserentry frompackage.json, or - configure rollup to also bundle the UMD.