Open DhWalidkhl opened 10 months ago
hi, if you're not using expressions you can point to the lottie-light version that does not use eval
Duplicate of https://github.com/airbnb/lottie-web/issues/2927?
hi, if you're not using expressions you can point to the lottie-light version that does not use eval
~How?~
Apparently this is done by importing directly from a Lottie-light file:
Replacing
import lottie from "lottie-web";
withimport lottie from "lottie-web/build/player/lottie_light";
and usingrenderer: "svg"
, worked for me.
Tell us about your environment
What did you do? Please explain the steps you took before you encountered the problem.
What did you expect to happen?
What actually happened? Please include as much relevant detail as possible.
Please provide a download link to the After Effects file that demonstrates the problem.