-
Hi, The Salesforce Platform does not allow importing ESM or CJS package. This causes me add a fixed TAR release form GH as a dependency This makes it much harder to update the jose as any other dependency in the project. I believe this proposed change would be :
Thanks for your consideration on this one. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Because of unfortunately popular amongst developers metrics, such as bundlephobia and npm's own total files / unpacked size metrics adding the complete bundle a third time (already present is cjs and esm) to the "main" jose npm release is not an option. What I mean, while irrelevant to those in the know, for those who aren't this makes the module look bad to a point where they won't consider using it... unfortunately. I can add the umd bundle to the https://www.npmjs.com/package/jose-browser-runtime npm releases tho? These runtime specific releases are deployed from the same gh workflow... |
Beta Was this translation helpful? Give feedback.
-
Thanks alot @panva ! |
Beta Was this translation helpful? Give feedback.
done in https://github.com/panva/jose/releases/tag/v4.14.6