chenqingspring / ng-lottie

Render After Effects animations on Angular based on lottie-web
MIT License
340 stars 100 forks source link

[0.3.2] Broken UMD module #40

Open BillyBlaze opened 6 years ago

BillyBlaze commented 6 years ago

Hi,

Our jest unit-tests are failing when upgrading to the latest 0.3.2 version. After some investigating, it seems like 0.3.2 is released with a broken UMD module. It seems like webpack was unable to resolve lottieAnimationView.component and throws an error.

Broken version: https://unpkg.com/ng-lottie@0.3.2/dist/umd/LottieAnimationView.js Working version: https://unpkg.com/ng-lottie@0.3.1/dist/umd/LottieAnimationView.js

On line 77 of the 0.3.2 you can see that module was unable to be resolved and in 0.3.1 it was resolved.

mccainz commented 6 years ago

Had to downgrade to 0.3.1 in order to use this in our Angular 7 app.

mariogomesbarbosa commented 5 years ago

I'm having the same issue. Sorry for the newbie question but, how can I downgrade ir to 0.3.1 version?

jjmato commented 4 years ago

Same issue. This package is abandoned, you can use ngx-lottie instead.