mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-12 03:38:07 +00:00
fix(nuxt): do not persist extraExtractionKeys
on runtime route.meta
This commit is contained in:
parent
976024f162
commit
ae9f42f4aa
@ -300,7 +300,7 @@ export async function getRouteMeta (contents: string, absolutePath: string, extr
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const name = property.key.type === 'Identifier' ? property.key.name : String(property.value)
|
const name = property.key.type === 'Identifier' ? property.key.name : String(property.value)
|
||||||
if (name) {
|
if (name && !extraExtractionKeys.includes(name)) {
|
||||||
dynamicProperties.add('meta')
|
dynamicProperties.add('meta')
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user