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

Add getLookup() API to allow composing custom lookup from internal lookup #136

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rmunch
Copy link

@rmunch rmunch commented Feb 12, 2025

Proposing to add a getLookup API. For my use case, I have some proprietary paths in a stylesheet that are not handled by existing lookups. While I can register a custom lookup to resolve these proprietary paths, I only need to handle certain of those paths, and want to defer the rest to existing lookups. Currently, the tsLookup and some others aren't exported - rather than exporting those, I thought this solution could be more flexible and future-proof if new internal lookups are added.

If this looks desirable, I can do another pass to update docs. Thanks!

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