mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +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
|
||||
}
|
||||
const name = property.key.type === 'Identifier' ? property.key.name : String(property.value)
|
||||
if (name) {
|
||||
if (name && !extraExtractionKeys.includes(name)) {
|
||||
dynamicProperties.add('meta')
|
||||
break
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user