CompositeSource
Defined in: packages/speculator/src/preprocess/types.ts:138
Composed source document from entry file and includes
The units array is ordered by document flow - includes are expanded in-place where they appear in the source.
Properties
Section titled “Properties”content
Section titled “content”content:
string
Defined in: packages/speculator/src/preprocess/types.ts:148
The fully composed content string with all includes resolved.
entryFile
Section titled “entryFile”entryFile:
string
Defined in: packages/speculator/src/preprocess/types.ts:140
Canonical path of entry file
entryFormat
Section titled “entryFormat”entryFormat:
SourceFormat
Defined in: packages/speculator/src/preprocess/types.ts:143
Format of entry file
includeGraph
Section titled “includeGraph”includeGraph:
IncludeGraph
Defined in: packages/speculator/src/preprocess/types.ts:156
Include relationship graph
sourceMap
Section titled “sourceMap”sourceMap:
SourceMap
Defined in: packages/speculator/src/preprocess/types.ts:153
Source map for tracing the composed string back to original files.