On this page

Attributes
new CachedSource(source, cachedData?): CachedSource
Attributes
cachedData:
{CachedData}
webpack.sources.CachedSource.buffer(): Buffer
Returns:
{Buffer}

webpack.sources.CachedSource.getCachedData(): CachedData
Returns:
{CachedData}

webpack.sources.CachedSource.map(options?): void
  • options {MapOptions}
  • Returns: {RawSourceMap}

webpack.sources.CachedSource.original(): Source
Returns:<Source>

webpack.sources.CachedSource.originalLazy(): Source | object
Returns:<Source> | <object>

webpack.sources.CachedSource.size(): number
Returns:<number>

webpack.source(): SourceValue
Returns:
{SourceValue}

webpack.sources.CachedSource.sourceAndMap(options?): void
  • options {MapOptions}
  • Returns: {SourceAndMap}

webpack.sources.CachedSource.streamChunks(options, onChunk, onSource, onName): void

webpack.sources.CachedSource.updateHash(hash): void
  • hash {HashLike}
  • Returns: {void}