Skip to content

Publish un-bundled transpiled esm modules #243

@moisadoru

Description

@moisadoru

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions