airbnb / lottie-web

Render After Effects animations natively on Web, Android and iOS, and React Native. http://airbnb.io/lottie/
MIT License
30.42k stars 2.86k forks source link

lottie-web icon not show in nuxt3 build mode #2926

Open sunnywanggit opened 1 year ago

sunnywanggit commented 1 year ago

Tell us about your environment

Operating System: Windows_NT Node Version: v16.14.0 Nuxt Version: 3.0.0 Nitro Version: 1.0.0 Package Manager: yarn@1.22.15 Builder: vite User Config: vite Runtime Modules: - Build Modules: -

image

"lottie-web": "^5.10.1"

What did you do? Please explain the steps you took before you encountered the problem.

What did you expect to happen?

lottie-web icon normal display in nuxt3 build mode.

What actually happened? Please include as much relevant detail as possible.

dev mode: image

build mode not show: image

Please provide a download link to the After Effects file that demonstrates the problem.

https://github.com/sunnywanggit/coverage

sunnywanggit commented 1 year ago

@ljharb @HugoDaniel @iancmyers @kudanai Can you take time to have a look ?

pascalwengerter commented 1 year ago

@sunnywanggit didn't https://github.com/sunnywanggit/coverage/pull/2 close this as well? ;)