Skip to content

SpeculateOptions

Defined in: packages/speculator/src/pipeline/types.ts:150

Options for the speculate() entrypoint

optional configPath: string

Defined in: packages/speculator/src/pipeline/types.ts:155

Optional path to config file (e.g., config.respec.json)


entry: string

Defined in: packages/speculator/src/pipeline/types.ts:152

Path to entry file (format.md or format.html)


optional env: Record<string, string | undefined>

Defined in: packages/speculator/src/pipeline/types.ts:164

Optional environment object for variable interpolation


optional fileProvider: FileProvider

Defined in: packages/speculator/src/pipeline/types.ts:161

File provider for reading files (defaults to NodeFileProvider)


plugins: Plugin[]

Defined in: packages/speculator/src/pipeline/types.ts:158

Plugins to execute during postprocess phases