feat: added commit short sha

This commit is contained in:
Corentin Thomasset 2022-04-16 15:12:33 +02:00
parent f544928402
commit 668625c6da
No known key found for this signature in database
GPG key ID: DBD997E935996158
3 changed files with 31 additions and 14 deletions

20
env.d.ts vendored
View file

@ -2,13 +2,13 @@
/// <reference types="vite-svg-loader" />
interface ImportMetaEnv {
VITE_PLAUSIBLE_API_HOST: string;
VITE_PLAUSIBLE_DOMAIN: string;
PACKAGE_VERSION: string;
PROD: boolean;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}
VITE_PLAUSIBLE_API_HOST: string;
VITE_PLAUSIBLE_DOMAIN: string;
PACKAGE_VERSION: string;
GIT_SHORT_SHA: string;
PROD: boolean;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}