ConversionOptions
@a16njs/engine / ConversionOptions
Interface: ConversionOptions
Defined in: index.ts:33
Options for a conversion operation.
Properties
source
source:
string
Defined in: index.ts:35
Source plugin ID
target
target:
string
Defined in: index.ts:37
Target plugin ID
root
root:
string
Defined in: index.ts:39
Project root directory (used as default for both source and target)
dryRun?
optionaldryRun:boolean
Defined in: index.ts:41
If true, only discover without writing
sourceRoot?
optionalsourceRoot:string
Defined in: index.ts:46
Override root directory for discovery (reading).
When set, discover() uses this instead of root.
targetRoot?
optionaltargetRoot:string
Defined in: index.ts:51
Override root directory for emission (writing).
When set, emit() uses this instead of root.
rewritePathRefs?
optionalrewritePathRefs:boolean
Defined in: index.ts:56
If true, rewrite file path references in content so they point to the target-format paths instead of source-format paths.