콘텐츠로 이동

AppBuildOptions

Defined in: core/index.ts:1217

Options for building a Vite-style browser application from an HTML entry.

optional base?: string

Defined in: core/index.ts:1227

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


optional compiler?: CompilerOptions

Defined in: core/index.ts:1246

라이브러리별 1st-party transform (@next/swccompiler 와 호환 surface). BuildOptions 와 동일 의미 — bundle / app 빌드 양쪽에서 같은 옵션 표현 사용.


optional define?: Record<string, string>

Defined in: core/index.ts:1235

Additional compile-time defines merged into the underlying bundle build.


optional entryHtml?: string

Defined in: core/index.ts:1223

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


optional envDir?: string

Defined in: core/index.ts:1231

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


optional envPrefixes?: string[]

Defined in: core/index.ts:1233

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


optional minify?: boolean

Defined in: core/index.ts:1237

Minify emitted JavaScript and CSS when supported by the underlying builder.


optional mode?: string

Defined in: core/index.ts:1229

Environment mode used for .env resolution and import.meta.env defaults.


optional outdir?: string

Defined in: core/index.ts:1221

Output directory for the production app build. Defaults to “dist”.


optional publicDir?: string | false

Defined in: core/index.ts:1225

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


optional root?: string

Defined in: core/index.ts:1219

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


optional sourcemap?: boolean

Defined in: core/index.ts:1239

Emit sourcemaps for bundled application assets.


optional splitting?: boolean

Defined in: core/index.ts:1241

Enable code splitting for the application bundle.