platform-codebase/features/landing/frontend/scripts
Quinn Ftw 5bb0e69fb7 perf(landing): aggressive bundle splitting and lazy loading
- Add aggressive manualChunks configuration for HTTP/2 parallel loading
- Split vendors: motion, framer-motion, react, i18n, styled, icons, query, router
- Split UI packages: sound, effects, backgrounds, animated, forms, etc.
- Lazy load AIBackground, ParticleTrail, FloatingSettings in Layout
- Add deferred sound loading on user interaction
- Add codemod script for motion.* → m.* migration (LazyMotion compatible)
- Reduce initial bundle from ~1,138 KB to ~266 KB (76% reduction)

Next: Run `pnpm codemod:lazy-motion` to migrate to m.* components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 22:41:22 -08:00
..
migrate-to-lazy-motion.ts perf(landing): aggressive bundle splitting and lazy loading 2025-12-29 22:41:22 -08:00