Code in resources/bootstrap.js not running

So i have the following code in my resources/bootstrap.js but my sentry user feedback widget didn't show up on Filament pages, but it shows up on non filament pages. If anyone know what i missed out on let me know
import * as Sentry from "@sentry/browser";

Sentry.init({
dsn: import.meta.env.VITE_SENTRY_DSN_PUBLIC,
integrations: [
Sentry.feedbackIntegration({
colorScheme: 'system',
showBranding: false,
}),
Sentry.replayIntegration(),
],
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
tracePropagationTargets: [
'my-site.com',
],
});
import * as Sentry from "@sentry/browser";

Sentry.init({
dsn: import.meta.env.VITE_SENTRY_DSN_PUBLIC,
integrations: [
Sentry.feedbackIntegration({
colorScheme: 'system',
showBranding: false,
}),
Sentry.replayIntegration(),
],
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
tracePropagationTargets: [
'my-site.com',
],
});
0 Replies
No replies yetBe the first to reply to this messageJoin