콘텐츠로 이동

AppDevPrepareOptions

Defined in: core/index.ts:1790

Options for preparing a Vite-style application for the development server.

optional base?: string

Defined in: core/index.ts:1800

Base URL prefix used when rewriting dev HTML and asset URLs.


optional entryHtml?: string

Defined in: core/index.ts:1796

HTML entry file to scan for module scripts, stylesheets, and static assets.


optional envDir?: string

Defined in: core/index.ts:1804

Directory to load .env files from. Defaults to the application root.


optional envPrefixes?: string[]

Defined in: core/index.ts:1806

Environment variable prefixes that are exposed to import.meta.env.


optional mode?: string

Defined in: core/index.ts:1802

Environment mode used for .env resolution. Defaults to “development”.


optional outdir?: string

Defined in: core/index.ts:1794

Temporary output directory used by the dev server. Defaults to “.zntc-dev”.


optional publicDir?: string | false

Defined in: core/index.ts:1798

Public assets directory to copy as-is, or false to disable public asset copying.


optional root?: string

Defined in: core/index.ts:1792

Application root directory used to resolve index.html, public/, and env files.