Hacker News new | ask | show | jobs
by jawishhameed 1647 days ago
That's a real pro-tip! Lottie animation JSONs are better left out of the bundling and loaded dynamically.

We built dotLottie[1], a little superset encapsulation layer ontop of Lottie as an experiment/solution to make it easer to bundle multiple Lotties and any associated assets AND make distribution/CDN use simpler. There are several sites that are using it now with good success.

1. https://dotlottie.io/