Files
editor/packages/nodes
Wassim SAMADandClaude Opus 4.7 e7cb976b9b nodes: declare lucide-react as peer dependency
The Stage E kind-owned panels (slab/ceiling) import lucide icons.
Without peerDependencies declaring lucide-react, consumers bundling
nodes/dist/<kind>/panel.js fail with "Module not found: Can't resolve
'lucide-react'" because the bundler has no signal that nodes needs it.

Matches the same pattern @react-three/drei + @react-three/fiber
already use here.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-18 10:11:21 -04:00
..