aws-observability / aws-rum-web

Amazon CloudWatch RUM Web Client
Apache License 2.0
114 stars 65 forks source link

feat: add core-js polyfills to CDN by usage #567

Open williazz opened 1 week ago

williazz commented 1 week ago

Summary

The configuration in https://github.com/aws-observability/aws-rum-web/pull/563 only targets default browser targets (https://browsersl.ist/#q=defaults). This may not be enough because that only targets the last 2 versions of non-dead browsers that are used by more than 0.5% of users. This PR dynamically adds polyfills by usage to close the gap.

Screenshot 2024-06-25 at 7 06 17 PM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.