We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mergeHead
1 parent 13bbf1b commit bd80a64Copy full SHA for bd80a64
src/shared/shared.ts
@@ -168,7 +168,10 @@ function hasTag(head: HeadConfig[], tag: HeadConfig) {
168
)
169
}
170
171
-// Merge head tags, overwrite duplicate meta tags in ascending precedence
+/**
172
+ * Merge head tags ascending precedence
173
+ * Prior duplicates are skipped in favor of later ones
174
+ */
175
export function mergeHead(...heads: HeadConfig[][]) {
176
return heads
177
.filter(Array.isArray)
0 commit comments