Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish un-bundled transpiled esm modules #243

Open
moisadoru opened this issue Apr 24, 2024 · 0 comments
Open

Publish un-bundled transpiled esm modules #243

moisadoru opened this issue Apr 24, 2024 · 0 comments

Comments

@moisadoru
Copy link

moisadoru commented Apr 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant