awslabs / clickstream-web

Web SDK for Clickstream Analytics on AWS
https://aws.amazon.com/solutions/implementations/clickstream-analytics-on-aws/
Apache License 2.0
15 stars 0 forks source link

feat: update webpack configure and support js file integrate #15

Closed zhu-xiaowei closed 1 year ago

zhu-xiaowei commented 1 year ago

Description

  1. update webpack configure and support js file integrate.
  2. fix the issue for window.document is null when integrate by js file.

General Checklist

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

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (821918c) 100.00% compared to head (c4e9fdc) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #15 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 24 24 Lines 953 964 +11 Branches 172 176 +4 ========================================= + Hits 953 964 +11 ``` | [Files Changed](https://app.codecov.io/gh/awslabs/clickstream-web/pull/15?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs) | Coverage Δ | | |---|---|---| | [src/tracker/ClickTracker.ts](https://app.codecov.io/gh/awslabs/clickstream-web/pull/15?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL3RyYWNrZXIvQ2xpY2tUcmFja2VyLnRz) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.