AppBuildOptions
Defined in: core/index.ts:1714
Options for building a Vite-style browser application from an HTML entry.
Properties
섹션 제목: “Properties”base?
섹션 제목: “base?”
optionalbase?:string
Defined in: core/index.ts:1724
Base URL prefix used when rewriting HTML and emitted asset URLs.
compiler?
섹션 제목: “compiler?”
optionalcompiler?:CompilerOptions
Defined in: core/index.ts:1752
Per-library 1st-party transform (@next/swc compiler-compatible
surface). Same meaning as in BuildOptions — both bundle / app builds use
the same option representation.
define?
섹션 제목: “define?”
optionaldefine?:Record<string,string>
Defined in: core/index.ts:1732
Additional compile-time defines merged into the underlying bundle build.
entryHtml?
섹션 제목: “entryHtml?”
optionalentryHtml?:string
Defined in: core/index.ts:1720
HTML entry file to scan for module scripts, stylesheets, and static assets.
envDir?
섹션 제목: “envDir?”
optionalenvDir?:string
Defined in: core/index.ts:1728
Directory to load .env files from. Defaults to the application root.
envPrefixes?
섹션 제목: “envPrefixes?”
optionalenvPrefixes?:string[]
Defined in: core/index.ts:1730
Environment variable prefixes that are exposed to import.meta.env.
jsx?
섹션 제목: “jsx?”
optionaljsx?:"classic"|"automatic"|"automatic-dev"|"preserve"
Defined in: core/index.ts:1740
JSX runtime: “automatic” / “automatic-dev” / “classic” / “preserve”.
jsxFactory?
섹션 제목: “jsxFactory?”
optionaljsxFactory?:string
Defined in: core/index.ts:1744
Classic-runtime JSX factory (e.g. “React.createElement”, “h”).
jsxFragment?
섹션 제목: “jsxFragment?”
optionaljsxFragment?:string
Defined in: core/index.ts:1746
Classic-runtime JSX fragment (e.g. “React.Fragment”).
jsxImportSource?
섹션 제목: “jsxImportSource?”
optionaljsxImportSource?:string
Defined in: core/index.ts:1742
JSX import source for the automatic runtime (e.g. “react”, “@emotion/react”).
minify?
섹션 제목: “minify?”
optionalminify?:boolean
Defined in: core/index.ts:1734
Minify emitted JavaScript and CSS when supported by the underlying builder.
mode?
섹션 제목: “mode?”
optionalmode?:string
Defined in: core/index.ts:1726
Environment mode used for .env resolution and import.meta.env defaults.
outdir?
섹션 제목: “outdir?”
optionaloutdir?:string
Defined in: core/index.ts:1718
Output directory for the production app build. Defaults to “dist”.
plugins?
섹션 제목: “plugins?”
optionalplugins?:ZntcPlugin[]
Defined in: core/index.ts:1758
Rollup-compatible JS plugins. Same resolveId/load/transform hooks as
BuildOptions.plugins — app build pipeline 도 같은 dispatcher 를 받는다
(#2538 4-4 PR-1).
publicDir?
섹션 제목: “publicDir?”
optionalpublicDir?:string|false
Defined in: core/index.ts:1722
Public assets directory to copy as-is, or false to disable public asset copying.
root?
섹션 제목: “root?”
optionalroot?:string
Defined in: core/index.ts:1716
Application root directory used to resolve index.html, public/, and env files.
sourcemap?
섹션 제목: “sourcemap?”
optionalsourcemap?:boolean
Defined in: core/index.ts:1736
Emit sourcemaps for bundled application assets.
splitting?
섹션 제목: “splitting?”
optionalsplitting?:boolean
Defined in: core/index.ts:1738
Enable code splitting for the application bundle.