js-markerclusterer
js-markerclusterer copied to clipboard
Change fast-deep-equal to a ESM Library
Is your feature request related to a problem? Please describe. When i build my Angular project there is a warning about fast-deep-equal because it is a commonJS/AMD module whcih can't be optimized correctly
/@googlemaps/markerclusterer/dist/index.esm.js depends on 'fast-deep-equal'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
Describe the solution you'd like Change the library to a ESM one or implement it in a native way.
Describe alternatives you've considered Waiting until the library supports ESM. But this doesn't look like it will happen, because the Pull Request is already open for over a year.
https://github.com/epoberezkin/fast-deep-equal/pull/105
If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.
@faragos Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
- Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
- Open a support case - Get 1:1 support in Cloud Console.
- Discord - chat with other developers
- StackOverflow - use the
google-mapstag
This is an automated message, feel free to ignore.
Hi @wangela, should the 👍 be placed on your automated comment, or the original issue description from @faragos ?
@felixranesberger the original description, since GitHub issue sorting looks at the count of emojis on the first comment only. I'll update the automated template! Thanks for calling my attention to the high number of votes on the automated comment.
+1 here, as well. Using rollup with @open-wc/building-rollup.
Any update on the status of this?