space-game/src/vite-env.d.ts
Michael Mainguy 1648364540
All checks were successful
Build / build (push) Successful in 1m24s
Add Discord widget integration with dynamic script loading
- Created TypeScript wrapper for Widgetbot Crate
- Dynamically loads Discord widget from CDN at runtime
- Removed @widgetbot/crate npm package to avoid React dependency (182 packages removed)
- Integrated with VR mode: auto-hides in VR, auto-shows in desktop mode
- Connected to Discord server 1112846185913401475, channel 1437561367908581406

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 17:53:27 -06:00

7 lines
127 B
TypeScript

/// <reference types="vite/client" />
// Widgetbot Crate global type
interface Window {
Crate: new (options: any) => any;
}