Skip to content

@kekkai/blueprint / ModuleDef

Interface: ModuleDef

Defined in: config/types.ts:92

How a single module (feature folder) is shaped.

Properties

entry

entry: string

Defined in: config/types.ts:96

The public entry filename, e.g. index. Everything else is private.


layout

layout: "flat" | "folder"

Defined in: config/types.ts:94

folder = one folder per module with an entry file; flat = single file.


private

private: string[]

Defined in: config/types.ts:98

Private sub-parts kept behind the entry, e.g. ['hooks', 'styles', 'types'].