You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing Lottie Player as an npm dependency, it brings in pre-bundled versions of the Lottie and the tgs players. These pre-bundled files contain their own copy of the lit library. If a consumer app also uses the lit library, it will end up with two copies of lit.
To eliminate code duplication, one possible solution would be to list lit as a dependency in package.json and also provide the unbundled transpiled/minified files for consumption in projects that have their own build process which involves a bundler.
The text was updated successfully, but these errors were encountered:
When installing Lottie Player as an npm dependency, it brings in pre-bundled versions of the Lottie and the tgs players. These pre-bundled files contain their own copy of the
lit
library. If a consumer app also uses thelit
library, it will end up with two copies oflit
.To eliminate code duplication, one possible solution would be to list
lit
as a dependency inpackage.json
and also provide the unbundled transpiled/minified files for consumption in projects that have their own build process which involves a bundler.The text was updated successfully, but these errors were encountered: