feat: sentry profile

This commit is contained in:
2024-03-25 18:05:36 +08:00
parent 55d4d2adb1
commit 0c470c0837
2 changed files with 9 additions and 0 deletions

View File

@@ -5,6 +5,12 @@ import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
export default defineConfig({
server: {
headers: {
"Document-Policy": "js-profiling",
},
},
plugins: [
react(),
sentryVitePlugin({