Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

488 B
Raw Blame
import { createEnv as createEnvT3 } from "@t3-oss/env-nextjs";

export const defaultEnvOptions = {
  emptyStringAsUndefined: true,
  skipValidation:
    Boolean(process.env.CI) || Boolean(process.env.SKIP_ENV_VALIDATION) || process.env.npm_lifecycle_event === "lint",
} satisfies Partial<Parameters<typeof createEnvT3>[0]>;

export const createEnv: typeof createEnvT3 = (options) => createEnvT3({ ...defaultEnvOptions, ...options });

export * from "./prefix";
export * from "./schemas";