feat: add Vite config and TypeScript settings for web build

This commit is contained in:
2026-04-27 08:24:55 +09:00
parent 57d4a9bf17
commit 7e9bc4bfdd
6 changed files with 79 additions and 9 deletions

14
vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,14 @@
/// <reference types="vite/client" />
declare const __APP_VERSION__: string;
interface ImportMetaEnv {
readonly VITE_PUBLIC_URL: string;
readonly VITE_AD_ADAPTER: string;
readonly VITE_GA_MEASUREMENT_ID: string;
readonly VITE_ENABLE_PUSH: string;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}