Skip to content

Commit e8e2e2a

Browse files
committed
docs: minor updates about dependencies and lazy+tracing
1 parent 63e698a commit e8e2e2a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docs/content/en/guide/setup.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ Then, add `@nuxtjs/sentry` to the `modules` section of `nuxt.config.js` and set
5252

5353
See [Options](/sentry/options) for a list of available options.
5454

55+
Note that the Sentry SDK dependencies (`@sentry/*`) are not pinned and can be updated independently from the module itself by running `npm upgrade @nuxtjs/sentry` or `yarn update @nuxtjs/sentry`. That means you don't have to wait for a new module release if you want to update to the latest SDK version.
56+
5557
<alert type="info">
5658

5759
For Typescript or type-checked JavaScript projects, you might have to install the `@sentry/tracing` package even when not using the tracing functionality. In that case, the package can be installed as a dev-only dependency.

docs/content/en/sentry/lazy-loading.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ position: 6
55
category: Sentry
66
---
77

8-
<alert type="warning">
8+
Set `lazy: true` in your module options to load Sentry lazily on the client. This will prevent Sentry from being included in your main bundle and should result in a faster initial page load.
99

10-
Please be aware that lazy loading could prevent some errors that happen early during app loading from being reported.
10+
You can also pass a lazy config object in your module options (see [options](/sentry/options#lazy) for more information).
1111

12-
</alert>
12+
<alert type="info">
1313

14-
Set `lazy: true` in your module options to load Sentry lazily on the client. This will prevent Sentry from being included in your main bundle **but could result in some errors not being reported**.
14+
Please be aware that lazy loading could prevent some errors that happen early during app loading from being reported and, if `tracing` is enabled, some performance metrics might not be accurate.
1515

16-
You can also pass a lazy config object in your module options (see [options](/sentry/options#lazy) for more information).
16+
</alert>
1717

1818
### Injected properties
1919

0 commit comments

Comments
 (0)