-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
Is it possible to load tsconfig.json from another directory #539
Comments
Hi
So one's not always able to specify absolute path to So i'd propose to add the check to the
As a workaround, I use |
I didn't implement that part and so can't comment. @jbrantly may have a thought. We'd be open to a PR as long as it contains no breaking changes. |
TL;DR: This works with the The option can be passed
Since #605, passing absolute paths also works on Windows. However, looking at the original implementation of the I assume that because
This signals to me that paths should not have worked for this option in the first place but were not properly guarded against. First, it should be decided by the
To make the name unambiguous, I'd generally suggest the second option. However, this would break current behaviour (and, obviously, usage) and thus is not desirable at all. My suggestion:
I'd like to hear your thoughts on this. If you like my train of thoughts, I'd be happy to submit a PR. |
I like your train of thoughts and we'd welcome a PR. Thanks! |
Alright, I'll give it a try. 👍 |
Hm. I get plenty of failing tests even in the freshly cloned original repo. How should I preferredly deal with that? |
Without seeing it I can't comment. Why don't you send the PR now and keep working on it? Sending the PR will kick off tests on Windows and Linux and hopefully I can give you some feedback. |
Alright. Almost forgot that good repos people have a CI setup. 🙃 |
So this was adressed by #607 and can be closed. 👍 |
Awesome! |
I'm trying to keep all compiler files in one place
./gulp/
but I can't seem to be able to tell ts-loader where to look for tsconfig.json.The text was updated successfully, but these errors were encountered: