UNPKG

alepha

Version:

Easy-to-use modern TypeScript framework for building many kind of applications.

25 lines (22 loc) 600 B
import { $atom, type Static, z } from "alepha"; /** * Dev options atom for CLI dev command. * * Defines the available dev configuration options with their defaults. * Options can be overridden via alepha.config.ts or CLI flags. */ export const devOptions = $atom({ name: "alepha.cli.dev.options", description: "Dev configuration options", schema: z.object({ /** * Disable Vite React plugin. */ noViteReactPlugin: z.boolean().default(false).optional(), }), default: {}, }); /** * Type for dev options. */ export type DevOptions = Static<typeof devOptions.schema>;