Files
radicle-explorer/src/env.d.ts
T
Sebastian Martinez 4c3bd7ee04 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>
2023-04-03 11:50:24 +02:00

15 lines
414 B
TypeScript

/* 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;
};
}