question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please use rollup to bundle lottie-player instead of parcel

See original GitHub issue

rollup 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:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
johnloycommented, Oct 16, 2020

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.

0reactions
karamaliecommented, Apr 1, 2021

changed build process from parcel to rollup 😃 v1.0.0 has been pushed out

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found