Skip to content

replay: cdn non minified #5943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,21 @@ npm install --save @sentry/replay
```html {tabTitle: CDN}
<!--
Note that the Replay bundle only contains the Replay integration and not the
entire Sentry SDK. You have to add it in addition to the Sentry Browser SDK bundle:
entire Sentry SDK. You have to add it in addition to the Sentry Browser SDK bundle.

The CDN bundle below is not minified. That's because of a known issue in the minified bundle.
See: https://github.com/getsentry/sentry-javascript/issues/6466#issuecomment-1344491020
-->

<script
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/bundle.min.js"
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'bundle.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/bundle.js"
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'bundle.js', 'sha384-base64') }}"
crossorigin="anonymous"
></script>

<script
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/replay.min.js"
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'replay.min.js', 'sha384-base64') }}"
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/replay.js"
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'replay.js', 'sha384-base64') }}"
crossorigin="anonymous"
></script>
```