fix(build): resolve manualChunks error for server-side dependencies
- Change manualChunks from object to function to handle SSR externals
- Only chunk client-side libraries (lucide, hls.js)
- Exclude @atproto/api from optimization as it's server-side only
- Let Vite automatically handle other vendor chunking