Skip to content

Commit

Permalink
Merge branch 'GDSC-Hongik:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
GDSChongik authored Aug 25, 2024
2 parents 47a17e7 + 125e209 commit 6c09763
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 21 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,6 @@ dist-ssr
*.sw?

.env
*.pem
*.pem
# Sentry Config File
.env.sentry-build-plugin
6 changes: 0 additions & 6 deletions src/utils/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
Expand Down
27 changes: 13 additions & 14 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
});
});

0 comments on commit 6c09763

Please sign in to comment.