diff --git a/.gitignore b/.gitignore index 52ebe87..92f4df3 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,6 @@ dist-ssr *.sw? .env -*.pem \ No newline at end of file +*.pem +# Sentry Config File +.env.sentry-build-plugin diff --git a/src/utils/sentry.ts b/src/utils/sentry.ts index c71bf51..8f9439e 100644 --- a/src/utils/sentry.ts +++ b/src/utils/sentry.ts @@ -28,12 +28,6 @@ const setSentry = () => { Sentry.replayIntegration() ], - tracePropagationTargets: [ - /^https:\/\/onboarding.gdschongik.com\/?.*$/, - /^https:\/\/api\.gdschongik\.com\/?.*$/, - /^https:\/\/dev-onboarding.gdschongik.com\/?.*$/, - /^https:\/\/dev-api\.gdschongik\.com\/?.*$/ - ], replaysSessionSampleRate: 0.1, replaysOnErrorSampleRate: 1.0 }); diff --git a/vite.config.ts b/vite.config.ts index 1a9c1d8..72bffb6 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,20 +6,19 @@ import { sentryVitePlugin } from '@sentry/vite-plugin'; // https://vitejs.dev/config/ export default defineConfig({ - plugins: [ - react(), - tsconfigPaths(), - sentryVitePlugin({ - org: process.env.SENTRY_ORG_NAME, - project: process.env.SENTRY_PROJECT_NAME, - authToken: process.env.SENTRY_AUTH_TOKEN, - sourcemaps: { - assets: './dist/**', - filesToDeleteAfterUpload: '**/*.map' - } - }) - ], + plugins: [react(), tsconfigPaths(), sentryVitePlugin({ + org: process.env.SENTRY_ORG_NAME, + project: process.env.SENTRY_PROJECT_NAME, + authToken: process.env.SENTRY_AUTH_TOKEN, + sourcemaps: { + assets: './dist/**', + filesToDeleteAfterUpload: '**/*.map' + } + }), sentryVitePlugin({ + org: "gdsc-hongik", + project: "wow-onboarding" + })], build: { sourcemap: true } -}); +}); \ No newline at end of file