Skip to content

Conversation

@rilrom
Copy link
Contributor

@rilrom rilrom commented Dec 26, 2025

What?

When adding beforeDocumentControls as a custom component to a global, it does not get picked up by the import map, even when running generate:importmap.

Why?

beforeDocumentControls is missing from addToImportMap in iterateGlobals.

How?

Adds beforeDocumentControls to addToImportMap in iterateGlobals.

While doing this I've used the opportunity to add Description to the globals custom component documentation as it was missing.

Fixes #15035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to generate importmap for global beforeDocumentControls

1 participant