854c4b91a8
Audited the renderer bundle with rollup-plugin-visualizer. Top offenders (libsodium-sumo 292KB gz, livekit-client 177KB gz, @supabase 149KB gz) all have justified usage and no viable swap. Mediapipe + track-processors are already lazy-loaded into a separate chunk on first BackgroundBlur activation. Bundle has zero duplicate packages, no moment/lodash/dayjs, no syntax-highlight libs, no polyfills — already lean from T1+T6. Added rollup-plugin-visualizer as a dev-dep, gated behind ANALYZE=true so production builds pay no cost. Run with: ANALYZE=true pnpm --filter @chat-app/desktop build to regenerate stats.html (treemap) + stats.json (raw) for future audits.
71 lines
747 B
Plaintext
71 lines
747 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
.pnpm-store/
|
|
|
|
# Build output
|
|
dist/
|
|
build/
|
|
out/
|
|
*.tsbuildinfo
|
|
|
|
# Turbo
|
|
.turbo/
|
|
|
|
# Env
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
.env.release
|
|
!.env.example
|
|
!.env.release.example
|
|
|
|
# Expo
|
|
.expo/
|
|
.expo-shared/
|
|
web-build/
|
|
*.jks
|
|
*.p8
|
|
*.p12
|
|
*.key
|
|
*.mobileprovision
|
|
|
|
# Electron desktop build artifacts
|
|
apps/desktop/out/
|
|
apps/desktop/release/
|
|
|
|
# Bundle visualizer reports
|
|
apps/desktop/stats.html
|
|
apps/desktop/stats.json
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/extensions.json
|
|
*.swp
|
|
*.swo
|
|
|
|
# Claude Code per-project local settings
|
|
.claude/
|
|
|
|
# Coverage
|
|
coverage/
|
|
*.lcov
|
|
.nyc_output/
|
|
|
|
# Misc
|
|
.cache/
|
|
*.local
|