Skip to content

CDN build + global window support #37

@germanbisurgi

Description

@germanbisurgi

Hi 👋

Would it be possible to provide a CDN-ready build (UMD) that exposes the library on window?

This would make it easy to use via a simple <script> tag without a bundler, e.g.:

<script src="https://cdn.jsdelivr.net/npm/<package-name>/dist/library.min.js"></script>
<script>
  const lib = window.<LibraryName>;
</script>

Thanks for considering!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions