AppBuildOptions
This content is not available in your language yet.
Defined in: core/index.ts:1217
Options for building a Vite-style browser application from an HTML entry.
Properties
섹션 제목: “Properties”base?
섹션 제목: “base?”
optionalbase?:string
Defined in: core/index.ts:1227
Base URL prefix used when rewriting HTML and emitted asset URLs.
compiler?
섹션 제목: “compiler?”
optionalcompiler?:CompilerOptions
Defined in: core/index.ts:1246
라이브러리별 1st-party transform (@next/swc 의 compiler 와 호환 surface).
BuildOptions 와 동일 의미 — bundle / app 빌드 양쪽에서 같은 옵션 표현 사용.
define?
섹션 제목: “define?”
optionaldefine?:Record<string,string>
Defined in: core/index.ts:1235
Additional compile-time defines merged into the underlying bundle build.
entryHtml?
섹션 제목: “entryHtml?”
optionalentryHtml?:string
Defined in: core/index.ts:1223
HTML entry file to scan for module scripts, stylesheets, and static assets.
envDir?
섹션 제목: “envDir?”
optionalenvDir?:string
Defined in: core/index.ts:1231
Directory to load .env files from. Defaults to the application root.
envPrefixes?
섹션 제목: “envPrefixes?”
optionalenvPrefixes?:string[]
Defined in: core/index.ts:1233
Environment variable prefixes that are exposed to import.meta.env.
minify?
섹션 제목: “minify?”
optionalminify?:boolean
Defined in: core/index.ts:1237
Minify emitted JavaScript and CSS when supported by the underlying builder.
mode?
섹션 제목: “mode?”
optionalmode?:string
Defined in: core/index.ts:1229
Environment mode used for .env resolution and import.meta.env defaults.
outdir?
섹션 제목: “outdir?”
optionaloutdir?:string
Defined in: core/index.ts:1221
Output directory for the production app build. Defaults to “dist”.
publicDir?
섹션 제목: “publicDir?”
optionalpublicDir?:string|false
Defined in: core/index.ts:1225
Public assets directory to copy as-is, or false to disable public asset copying.
root?
섹션 제목: “root?”
optionalroot?:string
Defined in: core/index.ts:1219
Application root directory used to resolve index.html, public/, and env files.
sourcemap?
섹션 제목: “sourcemap?”
optionalsourcemap?:boolean
Defined in: core/index.ts:1239
Emit sourcemaps for bundled application assets.
splitting?
섹션 제목: “splitting?”
optionalsplitting?:boolean
Defined in: core/index.ts:1241
Enable code splitting for the application bundle.