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

feat: Make mappings and getMapping public #2407

Closed
wants to merge 1 commit into from

Conversation

NikolaRHristov
Copy link

@NikolaRHristov NikolaRHristov commented Sep 30, 2023

Allows for the overriding of mappings, so that they can be overriden by child themes that extend DefaultTheme.

This will resolve current issues such as #2111 with the creation of a simple theme like in https://github.com/NikolaRHristov/TypeScriptESBuild/blob/main/Source/Class/Theme.ts

@NikolaRHristov
Copy link
Author

I just noticed I can override buildUrls, nevermind. 😁 Still useful though. Will leave it open if you want to merge.

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Oct 15, 2023

I'm not sure I want to merge this -- I've never liked how the URL building was implemented, and making this part of the public API seems like a step in the wrong direction...

I've been experimenting with alternative generation schemes on the beta branch, but am not fully happy with it yet

@NikolaRHristov
Copy link
Author

Should I close the PR?

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Oct 16, 2023

Feel free to leave it open for now, if I vent get the rework into a state I'm happy with, I'll reconsider merging :)

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