Performance: Framer-motion aus kritischem Pfad entfernt

- Framer-motion aus Layout, NavLink, ContactInfo, LanguageSwitcher entfernt
- PageTransition komplett vereinfacht (keine 1200ms Verzögerung mehr)
- FloatingPaths wird erst nach 2s lazy geladen
- Framer-motion und lucide-react in separate Chunks getrennt
- Icons-Chunk: 10.87KB (statt 126KB ui-vendor)
- Animations-Chunk wird erst bei Bedarf geladen

Einsparung: ~115KB beim Initial Load

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-05 22:34:52 +01:00
co-authored by Claude Opus 4.5
parent c775f3bbb2
commit 61c7c523ab
8 changed files with 209 additions and 372 deletions
+2 -1
View File
@@ -122,7 +122,8 @@ export default defineConfig({
'react-vendor': ['react', 'react-dom', 'react-router-dom'],
'mdx-vendor': ['@mdx-js/react'],
'i18n-vendor': ['i18next', 'react-i18next'],
'ui-vendor': ['framer-motion', 'lucide-react']
'icons': ['lucide-react'],
'animations': ['framer-motion']
},
// Optimierte Asset-Dateinamen
assetFileNames: (assetInfo) => {