defineConfig
defineConfig<
T>(config):T
Defined in: core/index.ts:274
zntc.config.{ts,js} 타입 체크/자동완성용 identity 헬퍼.
객체 또는 함수형 config 둘 다 지원:
export default defineConfig({ format: "esm" });export default defineConfig(({ command, mode, env }) => ({ format: "esm", minify: command === "bundle",}));Type Parameters
섹션 제목: “Type Parameters”T extends UserConfigInput
Parameters
섹션 제목: “Parameters”config
섹션 제목: “config”T
Returns
섹션 제목: “Returns”T