- {Source}
new PrefixSource(prefix, source): PrefixSourceAttributes
prefix:
<string>source:
{string|Buffer
|Source}
Returns:
{PrefixSource}
webpack.sources.PrefixSource.buffer(): BufferReturns:
{Buffer}
webpack.sources.PrefixSource.getPrefix(): stringReturns:
<string>webpack.sources.PrefixSource.map(options?): voidoptions{MapOptions}- Returns: {RawSourceMap}
webpack.sources.PrefixSource.original(): SourceReturns:
{Source}
webpack.sources.PrefixSource.size(): numberReturns:
<number>webpack.source(): SourceValueReturns:
{SourceValue}
webpack.sources.PrefixSource.sourceAndMap(options?): voidoptions{MapOptions}- Returns: {SourceAndMap}
webpack.sources.PrefixSource.streamChunks(options, onChunk, onSource, onName): voidoptions{StreamChunksOptions}onChunk<object>onSource<object>onName<object>- Returns: {GeneratedSourceInfo}
webpack.sources.PrefixSource.updateHash(hash): voidhash{HashLike}- Returns: {void}