diff options
author | 2022-01-27 16:49:11 +0100 | |
---|---|---|
committer | 2022-02-08 21:43:17 +0100 | |
commit | 852c3b0eaed48265354046d068f0cfa565827e7c (patch) | |
tree | 858a60359dda635da2647900564e4963f68d57df /packages/main/types | |
parent | chore: Annotate shared packages for purity (diff) | |
download | sophie-852c3b0eaed48265354046d068f0cfa565827e7c.tar.gz sophie-852c3b0eaed48265354046d068f0cfa565827e7c.tar.zst sophie-852c3b0eaed48265354046d068f0cfa565827e7c.zip |
refactor: Extract resource path management
Lets us access absolute paths and URLs without directly calling node
APIs.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/main/types')
-rw-r--r-- | packages/main/types/importMeta.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/main/types/importMeta.d.ts b/packages/main/types/importMeta.d.ts index efcf48a..7426961 100644 --- a/packages/main/types/importMeta.d.ts +++ b/packages/main/types/importMeta.d.ts | |||
@@ -3,7 +3,7 @@ interface ImportMeta { | |||
3 | DEV: boolean; | 3 | DEV: boolean; |
4 | MODE: string; | 4 | MODE: string; |
5 | PROD: boolean; | 5 | PROD: boolean; |
6 | VITE_DEV_SERVER_URL: string; | 6 | VITE_DEV_SERVER_URL?: string | undefined; |
7 | GIT_SHA: string; | 7 | GIT_SHA: string; |
8 | GIT_BRANCH: string; | 8 | GIT_BRANCH: string; |
9 | BUILD_DATE: number; | 9 | BUILD_DATE: number; |