* add basic sentry integration * add FE sourcemaps to Sentry * add sentry release step to pre-release workflow * add test exceptions * update pnpm lock file * workflow fixes * upload rust debug files to sentry in CI * fix action name * fix sentry upload action args * fix env name to match CI * fix sentry-cli on windows * remove test errors, format FE files * cargo fmt * mcp bin async fix * update Sentry DSN to new project * update Sentry DSN to new project
33 lines
682 B
TypeScript
33 lines
682 B
TypeScript
import { sentryVitePlugin } from "@sentry/vite-plugin";
|
|
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import path from 'path'
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), sentryVitePlugin({
|
|
org: "bloop-ai",
|
|
project: "vibe-kanban"
|
|
})],
|
|
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
"shared": path.resolve(__dirname, "../shared"),
|
|
},
|
|
},
|
|
|
|
server: {
|
|
port: parseInt(process.env.FRONTEND_PORT || '3000'),
|
|
proxy: {
|
|
'/api': {
|
|
target: `http://localhost:${process.env.BACKEND_PORT || '3001'}`,
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
|
|
build: {
|
|
sourcemap: true
|
|
}
|
|
})
|