mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
- Read version from package.json at build time using Vite define - Create global __APP_VERSION__ constant injected by Vite - Update document title in App component to include version (e.g., "Respira v0.0.0") - Works reliably in both web and Electron builds 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
3 lines
78 B
TypeScript
3 lines
78 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
declare const __APP_VERSION__: string;
|