Skip to content

Commit 472e42b

Browse files
authored
replay: cdn non minified (#5943)
1 parent e90379d commit 472e42b

File tree

1 file changed

+8
-5
lines changed
  • src/platform-includes/session-replay/install-session-replay

1 file changed

+8
-5
lines changed

src/platform-includes/session-replay/install-session-replay/javascript.mdx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,21 @@ npm install --save @sentry/replay
1313
```html {tabTitle: CDN}
1414
<!--
1515
Note that the Replay bundle only contains the Replay integration and not the
16-
entire Sentry SDK. You have to add it in addition to the Sentry Browser SDK bundle:
16+
entire Sentry SDK. You have to add it in addition to the Sentry Browser SDK bundle.
17+
18+
The CDN bundle below is not minified. That's because of a known issue in the minified bundle.
19+
See: https://github.com/getsentry/sentry-javascript/issues/6466#issuecomment-1344491020
1720
-->
1821

1922
<script
20-
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/bundle.min.js"
21-
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'bundle.min.js', 'sha384-base64') }}"
23+
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/bundle.js"
24+
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'bundle.js', 'sha384-base64') }}"
2225
crossorigin="anonymous"
2326
></script>
2427

2528
<script
26-
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/replay.min.js"
27-
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'replay.min.js', 'sha384-base64') }}"
29+
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/replay.js"
30+
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'replay.js', 'sha384-base64') }}"
2831
crossorigin="anonymous"
2932
></script>
3033
```

0 commit comments

Comments
 (0)