콘텐츠로 이동

WorkspaceEntryInline

WorkspaceEntryInline = UserConfig & object

Defined in: core/src/workspace.ts:58

디렉토리 없이 root cwd 에서 직접 build 되는 inline entry.

name 은 식별자(필수) — --workspace=<name> 필터, 로그 출력에 사용. 그 외 모든 필드는 BuildOptions (UserConfig) 와 동일하며 root config 를 override 한다.

name: string

export default defineWorkspace([
{ name: "shared-utils", entryPoints: ["./shared/utils.ts"], outdir: "./shared/dist" },
]);