Remove @sentry/tracing
This commit is contained in:
parent
cbc14604c9
commit
d4a03f14d7
|
@ -65,7 +65,6 @@
|
|||
"@reduxjs/toolkit": "^1.8.1",
|
||||
"@sentry/browser": "^7.74.1",
|
||||
"@sentry/react": "^7.74.1",
|
||||
"@sentry/tracing": "^7.74.1",
|
||||
"@tabler/icons": "^2.0.0",
|
||||
"@tailwindcss/aspect-ratio": "^0.4.2",
|
||||
"@tailwindcss/forms": "^0.5.3",
|
||||
|
|
|
@ -7,16 +7,13 @@ import type { SetOptional } from 'type-fest';
|
|||
|
||||
/** Start Sentry. */
|
||||
async function startSentry(dsn: string): Promise<void> {
|
||||
const [Sentry, { Integrations: Integrations }] = await Promise.all([
|
||||
import('@sentry/react'),
|
||||
import('@sentry/tracing'),
|
||||
]);
|
||||
const Sentry = await import('@sentry/react');
|
||||
|
||||
Sentry.init({
|
||||
dsn,
|
||||
debug: false,
|
||||
enabled: NODE_ENV === 'production',
|
||||
integrations: [new Integrations.BrowserTracing()],
|
||||
integrations: [new Sentry.BrowserTracing()],
|
||||
|
||||
// Filter events.
|
||||
// https://docs.sentry.io/platforms/javascript/configuration/filtering/
|
||||
|
|
|
@ -2077,13 +2077,6 @@
|
|||
"@sentry/types" "7.74.1"
|
||||
"@sentry/utils" "7.74.1"
|
||||
|
||||
"@sentry/tracing@^7.74.1":
|
||||
version "7.74.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.74.1.tgz#86cd078f632157c4a1b8880cba7f97c5a4839449"
|
||||
integrity sha512-YqhLMY28uukOR8FtoCMvzdzBYkTtwj/JHUensDEpTZG5OoQTjrcgttpL+WMaCBUy1MpOIo7FyLB5aoRq2U7AIA==
|
||||
dependencies:
|
||||
"@sentry-internal/tracing" "7.74.1"
|
||||
|
||||
"@sentry/types@7.74.1":
|
||||
version "7.74.1"
|
||||
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.74.1.tgz#b6f9b1bd266254f1f8b55fbcc92fa649ba2100ed"
|
||||
|
|
Loading…
Reference in New Issue