Skip to content

Commit c4c936f

Browse files
Luca Forstnercoolguyzone
andauthored
Clarify that tree shaking replay worker is optional (#12261)
Co-authored-by: Alex Krawiec <[email protected]>
1 parent 7ac5a15 commit c4c936f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/platforms/javascript/common/session-replay/configuration.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ replayIntegration({
135135
});
136136
```
137137

138-
4. You can now <PlatformLink to="/configuration/tree-shaking/">Tree Shake</PlatformLink> the default included worker script. If you are using our bundler plugins (version 2.10.0 or later), you can do:
138+
4. (optional) To reduce bundle size, you can now <PlatformLink to="/configuration/tree-shaking/">Tree Shake</PlatformLink> the default included worker script. If you are using one of the [Sentry Bundler Plugins](https://github.com/getsentry/sentry-javascript-bundler-plugins) (version 2.10.0 or later):
139139

140140
```javascript
141141
sentryPlugin({
@@ -161,7 +161,7 @@ replayIntegration({
161161

162162
## Custom breadcrumbs
163163

164-
Our SDKs allow you to send custom breadcrumbs, which will appear in the Replay Details UI alongside existing breadcrumbs. To learn how to send custom breadcrumbs, [read the docs here](/platforms/javascript/enriching-events/breadcrumbs/#customize-breadcrumbs). Note that any custom breadcrumbs you send will be reflected in both the Issue Details breadcrumbs UI and the Replay Details breadcrumbs tab.
164+
Our SDKs allow you to send custom breadcrumbs, which will appear in the Replay Details UI alongside existing breadcrumbs. To learn how to send custom breadcrumbs, [read the docs here](/platforms/javascript/enriching-events/breadcrumbs/#customize-breadcrumbs). Note that any custom breadcrumbs you send will be reflected in both the Issue Details breadcrumbs UI and the Replay Details breadcrumbs tab.
165165

166166
All custom breadcrumbs in the Replay Details will appear grey, and can be identified by the terminal logo.
167167

@@ -173,4 +173,4 @@ If `message` is not set, then the breadcrumb will display the `data` property by
173173

174174
![Custom breadcrumb example with data](./img/data-custom-breadcrumb.png)
175175

176-
The title of the breadcrumb will be the breadcrumb `category` that you set. If no `category` is set, then we will use the breadcrumb `message`. If that doesn't exist, we'll use the `description`. The last fallback with be a default title of "Custom".
176+
The title of the breadcrumb will be the breadcrumb `category` that you set. If no `category` is set, then we will use the breadcrumb `message`. If that doesn't exist, we'll use the `description`. The last fallback with be a default title of "Custom".

0 commit comments

Comments
 (0)