google / incremental-dom

An in-place DOM diffing library
http://google.github.io/incremental-dom/
Apache License 2.0
3.54k stars 180 forks source link

Emit ESM bundle #484

Closed schlusslicht closed 2 years ago

schlusslicht commented 2 years ago

Hello and thank You for this project and Your efforts! :rocket:

This small pull request just adds an ESM flavoured bundle to the build outputs without touching any logic. This ESM bundle may then be consumed by the browser directly via:

If You have any suggestions or comments, please let me know!

google-cla[bot] commented 2 years ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

schlusslicht commented 2 years ago

Rebased against current master (https://github.com/google/incremental-dom/commit/430dfb4f5d0c5841d05b9cb2d3e286091f27788f).