(
chunk: RenderedChunk | OutputChunk | OutputAsset,
)
| 1248 | } |
| 1249 | |
| 1250 | get( |
| 1251 | chunk: RenderedChunk | OutputChunk | OutputAsset, |
| 1252 | ): ChunkMetadata | AssetMetadata { |
| 1253 | const key = this._getKey(chunk) |
| 1254 | if (!this._inner.has(key)) { |
| 1255 | this._inner.set(key, this._getDefaultValue(chunk)) |
| 1256 | } |
| 1257 | return this._inner.get(key)! |
| 1258 | } |
| 1259 | |
| 1260 | class="cm">// reset chunk metadata on the first RenderChunk call for watch mode |
| 1261 | reset(chunk: RenderedChunk | OutputChunk | OutputAsset): void { |