Comments (4)
hi, can you share a link with the build breaking so I can take a look?
from lottie-api.
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.
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.
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)
- Typescript Definitions
- KeyPathList function has logic bugs on iteration
- Change color dynamically in lottie json HOT 3
- t
- addValueCallback() doesn't work unless animData.loop = true HOT 2
- [bug]Can't directly modify colors in animation
- Smooth transition within a value callback HOT 1
- How to use lottie-api with Angular HOT 1
- How to change position of layers? HOT 4
- Get Animation Data after the API has changed something. HOT 1
- Fails to find Keypath
- How to retrieve the value of a property? HOT 3
- Declaration types
- Accessing layers HOT 1
- Dfh
- parent is not defined
- How to use other methods, is there a manual?
- Lotti-API Documentation
- Lotti-API Documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lottie-api.