Skip to content

Commit d373e50

Browse files
change for angulary ivy
1 parent 27078cf commit d373e50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform-includes/getting-started-config/javascript.capacitor.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Then forward the `init` method from the sibling Sentry SDK for the framework you
33

44
```typescript {tabTitle: Angular} {filename: app.module.ts} {"onboardingOptions": {"performance": "13-16, 21-28, 46-55", "session-replay": "17-19, 29-33"}}
55
import * as Sentry from "@sentry/capacitor";
6-
import * as SentryAngular from "@sentry/angular";
6+
import * as SentryAngular from "@sentry/angular-ivy";
77

88
Sentry.init(
99
{
@@ -20,7 +20,7 @@ Sentry.init(
2020
SentryAngular.browserTracingIntegration(),
2121
// Registers the Replay integration,
2222
// which automatically captures Session Replays
23-
Sentry.replayIntegration(),
23+
SentryAngular.replayIntegration(),
2424
],
2525

2626
// Set tracesSampleRate to 1.0 to capture 100%

0 commit comments

Comments
 (0)