Files
Tom Moor 2a4693687b chore: Load Vite and Vitest configs as ESM (#14101)
* chore: Load Vite and Vitest configs as ESM

* fix: Resolve _FILE variables in the Vite config environment

* fix: Do not log the secret file path in the Vite config

* fix: Silence the dotenvx injection log
2026-10-16 01:40:47 +00:00

13 lines
276 B
TypeScript

if (process.env.NODE_ENV !== "test") {
// oxlint-disable-next-line @typescript-eslint/no-var-requires
require("@dotenvx/dotenvx").config({
quiet: true,
ignore: ["MISSING_ENV_FILE"],
});
}
require("../storage/database");
require("../storage/redis");
export {};