Skip to content

ModuleKind

This content is not available in your language yet.

ModuleKind = "config" | "workspace"

Defined in: core/src/config-loader.ts:174

loadModuleDefault 가 받는 모듈 종류 라벨.

  • 에러 메시지에 라벨로 삽입 ("config file not found" vs "workspace file not found").
  • tmp 컴파일 파일명에도 사용 (.zntc-config.bundled-*.mjs / .zntc-workspace.bundled-*.mjs).

새 모듈 종류 추가 시 이 union 을 확장하고 호출 사이트도 맞춰 갱신.