mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Fix statically replaced HASH_ROUTING env variables
Also moves the HASH_ROUTING env variable from being modified inside the hashRouter.spec.ts into the webserver config in the playwright.config.ipfs.ts Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
// Defined by vite or by custom passed env variables
|
||||
// Custom entries will be defined as globals during dev and statically replaced during build.
|
||||
interface ImportMeta extends Readonly<Record<string, unknown>> {
|
||||
env: {
|
||||
MODE: string;
|
||||
BASE_URL: string;
|
||||
PROD: boolean;
|
||||
DEV: boolean;
|
||||
SSR: boolean;
|
||||
VITE_HASH_ROUTING: boolean;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user