Dev.to
7/24/2026

The original title is 10 words: "The Missing GitHub Icon That Broke My Production Build"
Original: The Missing GitHub Icon That Broke My Production Build
Short summary
A developer's production build failed on Vercel because lucide-react quietly removed the Github brand icon from its exports between versions. Local dev didn't catch it due to stale node_modules caching. The fix was replacing the import with a tiny inline SVG component, then validating in a clean build environment.
- •lucide-react removed the Github brand icon export, breaking Vercel builds while local dev stayed green due to node_modules caching
- •Fix: replace the missing import with a small inline SVG component — zero call-site changes needed
- •Lesson: brand icons in open-source libraries aren't guaranteed; pin versions or own the SVG, and always test in a clean CI environment
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



