Please use rollup to bundle lottie-player instead of parcel
See original GitHub issuerollup is a better choice for library bundle, while parcel is more suitable for application development.
For example, output bundle by parcel can not be used as es-module directlly.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Migration - Parcel
The first thing to note when upgrading from Parcel 1 to Parcel 2 is that the npm package name has changed from parcel-bundler...
Read more >Lottie player not loading when used as js module
I am trying to use lottie player web component. I have followed their instructions on github and installed it with npm:
Read more >Untitled - Snap!
Instead this block reports how many milliseconds it took to perform the ... ,follow,ensure,chance,situation,playing,interesting,economic,source,cheap,daily ...
Read more >450.txt - Project Gutenberg
You may copy it, give it away or re-use it under the terms of the Project ... Lottie Wright was the only daughter...
Read more >ecprice/wordlist - MIT
... applicant applicants application applicationfilterchainjava applications ... bundaberg bundchen bundesbank bundesliga bundestag bundle bundled bundles ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It’s also worth shipping the source ES modules unbundled as well to npm. I notice Lottie Player uses LitElement, and not bundling that is ideal, so it can be externalized and shared in production builds among other custom elements depending on it.
changed build process from parcel to rollup 😃 v1.0.0 has been pushed out