On this page

Attributes
new PrefixSource(prefix, source): PrefixSource
Attributes
prefix:<string>
source:<string> | <Buffer>
< <ArrayBufferLike> > | <Source>
buffer(): Buffer
Returns:
{Buffer}

buffers(): Buffer
Returns:
<Buffer> < <ArrayBufferLike> >[]

getPrefix(): string
Returns:<string>

map(options?): RawSourceMap | null
Attributes
options:<MapOptions>
Returns:
<RawSourceMap> | <null>

original(): Source
Returns:<Source>

size(): number
Returns:<number>

source(): SourceValue

sourceAndMap(options?): SourceAndMap
Attributes
options:<MapOptions>
Returns:
{SourceAndMap}

streamChunks(options, onChunk, onSource, onName): GeneratedSourceInfo
Attributes
onChunk:<object>
onSource:<object>
onName:<object>
Returns:
{GeneratedSourceInfo}

updateHash(hash): void
Attributes
Returns:
{void}