perf: split chunks and lazy-load Room to shrink initial bundle

manualChunks: add sentry, folds, i18n, jotai, immer
Router: lazy-load Room component (used in home/direct/space routes)
Sentry: wire in real DSN with browserTracingIntegration, 5% trace rate,
  tracePropagationTargets scoped to matrix.lotusguild.org, sendDefaultPii=false

Main bundle: 2481 kB -> 1857 kB gzip 623 kB -> 450 kB (-28% initial load)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lotus Bot
2026-05-21 19:56:38 -04:00
parent 538b3032a0
commit 2ecb6876c8
4 changed files with 30 additions and 15 deletions
+1 -3
View File
@@ -1,4 +1,2 @@
# Sentry DSN — get from sentry.io → Project Settings → Client Keys
# VITE_SENTRY_DSN=https://xxx@oXXX.ingest.sentry.io/YYYY
VITE_SENTRY_DSN=
VITE_SENTRY_DSN=https://264a5e95c5d31fe080a2e92fb008294d@o4511430568378368.ingest.us.sentry.io/4511430571982849
VITE_APP_VERSION=lotus