Open mingfang opened 2 years ago
We could certainly consider this but since the asset objects are quite complex, we would need to check all properties for equivalence. If we were to just check the url value, we could end up with a situation where 2 podlets provide the same urls with slightly different options and having to decide which one wins. I suspect this might be better left to the layout creator to decide on deduping strategy perhaps.
What do you think @trygve-lie ?
When combining assets from podlets like this
there may be multiple assets with the same value. They will result in multiple identical
script
tags for the same asset. The duplicates should be removed