Skip to content

fix(schema-org): remove unimplemented SchemaOrgDebug#649

Merged
harlan-zw merged 1 commit intounjs:mainfrom
onmax:fix/remove-unimplemented-schema-org-debug
Feb 8, 2026
Merged

fix(schema-org): remove unimplemented SchemaOrgDebug#649
harlan-zw merged 1 commit intounjs:mainfrom
onmax:fix/remove-unimplemented-schema-org-debug

Conversation

@onmax
Copy link
Copy Markdown
Contributor

@onmax onmax commented Jan 27, 2026

Summary

Remove SchemaOrgDebug from schemaOrgComponents array - listed since initial commit but never implemented.

Causes build errors with static ESM re-exports:

module '@unhead/schema-org/vue' does not provide export 'SchemaOrgDebug'

StackBlitz

Link Expected
Bug unhead-schema-org-debug ❌ Export error
Fix unhead-schema-org-debug-fix ✅ Works

CLI Reproduction

git clone --depth 1 --filter=blob:none --sparse https://github.com/onmax/repros.git
cd repros && git sparse-checkout set unhead-schema-org-debug
cd unhead-schema-org-debug && pnpm i && pnpm dev
# ❌ Expected: "module does not provide export 'SchemaOrgDebug'"

Verify fix

git sparse-checkout add unhead-schema-org-debug-fix
cd ../unhead-schema-org-debug-fix && pnpm i && pnpm dev
# ✅ Expected: dev server starts without errors

The -fix folder uses pnpm patch to apply the fix locally.

@onmax
Copy link
Copy Markdown
Contributor Author

onmax commented Jan 27, 2026

cc @mateusznarowski who reported this in nuxt/content#3704

@harlan-zw harlan-zw merged commit 642dc3e into unjs:main Feb 8, 2026
@onmax onmax deleted the fix/remove-unimplemented-schema-org-debug branch February 17, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants