diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-30 12:07:19 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-30 12:38:24 +0100 |
commit | e46099ac744919c927909f741d9b5870abab5a58 (patch) | |
tree | 393985ecf730f0908db1eefaaedb6fb92c726e40 /packages/main/types/importMeta.d.ts | |
parent | build: Use shared packages through modules (diff) | |
download | sophie-e46099ac744919c927909f741d9b5870abab5a58.tar.gz sophie-e46099ac744919c927909f741d9b5870abab5a58.tar.zst sophie-e46099ac744919c927909f741d9b5870abab5a58.zip |
build: Only use vite typings in renderer
The rest of the packages aren't buld with vite, so we shouldn't use its
typings.
Diffstat (limited to 'packages/main/types/importMeta.d.ts')
-rw-r--r-- | packages/main/types/importMeta.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/main/types/importMeta.d.ts b/packages/main/types/importMeta.d.ts new file mode 100644 index 0000000..3da01d3 --- /dev/null +++ b/packages/main/types/importMeta.d.ts | |||
@@ -0,0 +1,8 @@ | |||
1 | interface ImportMeta { | ||
2 | env: { | ||
3 | DEV: boolean; | ||
4 | MODE: string; | ||
5 | PROD: boolean; | ||
6 | VITE_DEV_SERVER_URL: string; | ||
7 | } | ||
8 | } | ||