You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@unhead/schema-org: schemaAutoImports includes non-exported Vue helpers #727
@unhead/schema-org publishes a schemaAutoImports list that includes helpers not exported by @unhead/schema-org/vue.
In our Nuxt 4 app (@nuxtjs/seo -> nuxt-schema-org), this causes production build failures because Nuxt auto-import generation includes names like defineDataset / defineMusicAlbum / defineMusicGroup / defineMusicPlaylist / defineMusicRecording, but those symbols are missing from dist/vue.mjs exports.
\"defineDataset\" is not exported by \"@unhead/schema-org/dist/vue.mjs\"
\"defineMusicAlbum\" is not exported by \"@unhead/schema-org/dist/vue.mjs\"
Expected behavior
Either:
schemaAutoImports only lists helpers that are actually exported by @unhead/schema-org/vue, or
the missing helpers are exported from @unhead/schema-org/vue.
Evidence
In 2.1.13, schemaAutoImports contains these entries:
defineDataset
defineMusicAlbum
defineMusicGroup
defineMusicPlaylist
defineMusicRecording
But dist/vue.mjs export list does not include them.
Notes
Downgrading @nuxtjs/seo alone (from 5.1.0 to 5.0.2) does not change outcome because the transitive chain can still resolve to [email protected] + @unhead/[email protected].
Activity