toAsset = name => {
				const asset = compilation.getAsset(name);
				return {
					name,
					size: /** @type {number} */ (asset ? asset.info.size : -1)
				};
			}
@param {string} name Name
@returns {{ name: string, size: number }} Asset object