class ConcatSource extends Source
new ConcatSource(...args?): ConcatSource
Attributes
...args:
ConcatSourceChild[]Returns:
ConcatSourceconcatSource.add(item): void
Attributes
item:
ConcatSourceChildconcatSource.addAllSkipOptimizing(items): void
Attributes
items:
ConcatSourceChild[]concatSource.buffer(): Buffer
Returns:
BufferconcatSource.buffers(): Buffer<ArrayBufferLike>[]
Returns:
Buffer<ArrayBufferLike>[]concatSource.clearCache(options?, visited?): void
Attributes
options:
ClearCacheOptionsRelease cached data held by this source. clearCache is a memory
hint: it never affects correctness or output, only how expensive
the next read is. Subclasses override; the base is a no-op so
every Source supports the call. Composite sources always recurse
into wrapped sources. When the same child is reachable via several
parents (e.g. modules shared across webpack chunks), pass a shared
visited WeakSet so each subtree is walked at most once.
Not safe to call concurrently with source/map/sourceAndMap/
streamChunks/updateHash on the same instance.
concatSource.getChildren(): Source[]
Returns:
Source[]concatSource.map(options?): RawSourceMap | null
Attributes
options:
MapOptionsReturns:
RawSourceMap | nullconcatSource.size(): number
Returns:
numberconcatSource.source(): SourceValue
Returns:
SourceValueconcatSource.sourceAndMap(options?): SourceAndMap
Attributes
options:
MapOptionsReturns:
SourceAndMapconcatSource.streamChunks(options, onChunk, onSource, onName): GeneratedSourceInfo
Attributes
concatSource.updateHash(hash): void
Attributes
hash:
HashLike