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

register can't override baseURL #252

Open
Tschonti opened this issue Jul 17, 2023 · 0 comments
Open

register can't override baseURL #252

Tschonti opened this issue Jul 17, 2023 · 0 comments

Comments

@Tschonti
Copy link

I don't fully understand how this library works, but a part of my project uses this lib to change the tsconfig. It changes all the items in the paths array, by replacing .ts with .js, then registers them with the baseUrl dist. This works well if in the original tsconfig the baseUrl value is not set. However, for a different part of my app, I need the baseUrl to be set to ./. In this case, the code that previously used this lib throws an error that it cannot find my tsconfig file. Is this issue related to this library at all, or is there a way to override the previous baseUrl?

@Tschonti Tschonti changed the title register can't override bseURL register can't override baseURL Jul 17, 2023
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

No branches or pull requests

1 participant