Vite-native idiom; added vite/client triple-slash reference to env.d.ts so TS knows about ImportMeta.env.