Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Add blacklight-frontend pin to importmap #3502

Draft
wants to merge 1 commit into
base: release-8.x
Choose a base branch
from

Conversation

taylor-steve
Copy link
Contributor

It's too close to the end of the day to undraft, but curious if this seems useful.

I think #3371 was a good idea. Blacklight Gallery is already using blacklight-frontend to import Blacklight. We noticed that in the Spotlight test app, the blacklight-gallery JavaScript stopped loading in the importmap only build. One of the reasons is the blacklight -> blacklight-frontend rename isn't in an 8.x release, so that importmap doesn't exist.

I think it could be useful to provide an entry point with that name in 8.x so that other code can

import Blacklight from 'blacklight-frontend'

without having to worry too much about what version of Blacklight is being used.

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.

1 participant