time to tell everybody that error telemetry is on

This commit is contained in:
Crazypersonalph
2023-12-06 14:59:35 +08:00
parent 01798fed97
commit df74d10381
11 changed files with 761 additions and 40 deletions
+9 -3
View File
@@ -1,9 +1,13 @@
import { sentryVitePlugin } from "@sentry/vite-plugin";
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
plugins: [react(), sentryVitePlugin({
org: "personal-771",
project: "betterseqtaplus-popup"
})],
build: {
//outDir: '../../public/popup-dist',
rollupOptions: {
@@ -12,6 +16,8 @@ export default defineConfig({
chunkFileNames: 'client/rsc/[chunks]/[name].[hash].js',
entryFileNames: 'client/public/client.js'
}
}
},
sourcemap: true
}
})
})