aws-observability / aws-rum-web

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

fix: Hardcode webclient version #381

Closed limhjgrace closed 1 year ago

limhjgrace commented 1 year ago

Applications using cjs run into a TypeError due to import issues involving the version.json file. Related issue: https://github.com/aws-observability/aws-rum-web/issues/371

As a temporary fix, we will hardcode the webclient version.


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

ps863 commented 1 year ago

question: does "resolveJsonModule": true remain true if we are hardcoding the web client version?

limhjgrace commented 1 year ago

question: does "resolveJsonModule": true remain true if we are hardcoding the web client version?

has been removed

qhanam commented 1 year ago

Related to #381