Skip to content

Commit f93c888

Browse files
committed
try fixing sentry sourcemaps
1 parent 452ac03 commit f93c888

File tree

4 files changed

+53
-54
lines changed

4 files changed

+53
-54
lines changed

package-lock.json

Lines changed: 48 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"@mui/x-date-pickers": "^8.11.2",
8888
"@sentry/node": "^8.0.0",
8989
"@sentry/react": "^9.40.0",
90-
"@sentry/vite-plugin": "^4.0.0",
90+
"@sentry/vite-plugin": "^4.3.0",
9191
"@tanstack/react-query": "^5.81.2",
9292
"@tanstack/react-query-devtools": "^5.81.2",
9393
"axios": "^1.6.8",

src/shared/chat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import z from 'zod/v4'
22
import type { ChatToolDef } from './tools'
3-
import { ValidModelNameSchema, validModels } from '../config'
3+
import { ValidModelNameSchema } from '../config'
44

55
/**
66
* Event emitted when text is added to a chat message

vite.config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,16 @@ export default defineConfig({
2828
plugins: [
2929
react(),
3030
sentryVitePlugin({
31-
disable: !inProduction, // Use this only when making the production build. This should only happen in CI with SENTRY_AUTH_TOKEN specified.
32-
org: 'toska',
31+
org: 'sentry',
3332
project: 'currechat-frontend',
34-
url: 'https://toska.cs.helsinki.fi/',
33+
url: 'https://toska.it.helsinki.fi/',
3534
telemetry: false,
3635
}),
3736
],
3837
base,
3938
build: {
4039
minify: inCI ? false : 'esbuild',
41-
sourcemap: inProduction,
40+
sourcemap: true,
4241
},
4342
server: {
4443
proxy: {

0 commit comments

Comments
 (0)