On this page

Attributes
new Source(): Source
Returns:<Source>
webpack.sources.Source.buffer(): Buffer
Returns:
{Buffer}

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

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

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

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

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