innovaccer / design-system

Masala Design System (MDS) is an open-source design system built at Innovaccer. Figma file : https://www.figma.com/community/file/974368355920553546/masala-design-system-web-guidelines
https://mds.innovaccer.com
MIT License
84 stars 79 forks source link

chore(react-lottie-player): moved react-lottie-player to externals for esm builds only #2269

Closed ypahalajani closed 3 months ago

ypahalajani commented 3 months ago

What does this implement/fix? Explain your changes.

This makes the ESM build to be able to run on server layer for stuff like generating templates, etc. ...

Does this close any currently open issues?

Yes, PDFs downloading were failing for the InCare product. ...

Any other comments?

Check and communicate if the other teams are using the UMD builds and still be able to use the AI components which rely on animations from react-lottie-player ...

Dependent PRs/Commits

...

Describe breaking changes, if any.

However, we have ensured that only the ESM build are affected by this change. We will communicate this update to the team. ...

Checklist

Check all those that are applicable and complete.