Giter Site home page Giter Site logo

Comments (4)

bodymovin avatar bodymovin commented on July 17, 2024

hi, can you share a link with the build breaking so I can take a look?

from lottie-api.

Rassibassi avatar Rassibassi commented on July 17, 2024

Not sure, what you mean, but if you follow this link: https://codesandbox.io/s/followingfacesvelte-3grho

Then just above where you can see the files (the file explorer), next where it says "Files", there is an arrow down button, which let's you download a zip file.

unzip, and run yarn install and yarn dev, and then visit the localhost served page, and the face does not follow the mouse :(

from lottie-api.

bodymovin avatar bodymovin commented on July 17, 2024

Yes, it's the same problem. Rollup doesn't correctly build the library and breaks.
I'm working on a fix but it will take some time to have it working. Perhaps in a couple of weeks.
As a workaround, I'd suggest to load the library separately instead of being part of the build

from lottie-api.

Rassibassi avatar Rassibassi commented on July 17, 2024

Cool, thanks for your answer. I made the app work locally by using svelte with webpack instead of rollup.

For anyone bumping into this issue, my workaround:
I started developing the svelte/webpack version from this repository, https://github.com/sveltejs/template-webpack and bumped all the dependencies to latest via yarn upgrade --latest, then built my svelte app from there.

from lottie-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.