콘텐츠로 이동

AppDevPrepareOptions

Defined in: core/index.ts:1252

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

optional base?: string

Defined in: core/index.ts:1262

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


optional entryHtml?: string

Defined in: core/index.ts:1258

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


optional envDir?: string

Defined in: core/index.ts:1266

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


optional envPrefixes?: string[]

Defined in: core/index.ts:1268

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


optional mode?: string

Defined in: core/index.ts:1264

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


optional outdir?: string

Defined in: core/index.ts:1256

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


optional publicDir?: string | false

Defined in: core/index.ts:1260

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


optional root?: string

Defined in: core/index.ts:1254

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