-
-
Notifications
You must be signed in to change notification settings - Fork 433
How to use current directory tsconfig.json? #865
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
Comments
I suspect you want to run 2 different instances of ts-loader. Use this: https://github.com/TypeStrong/ts-loader/blob/master/README.md#instance-string Usage looks something like this: https://github.com/TypeStrong/ts-loader/blob/master/test/comparison-tests/instance/webpack.config.js (Above file is a test file and so has some differences from a typical config) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing as stale. Please reopen if you'd like to work on this further. |
Related to #926. @johnnyreilly you pointed out that @VictorQueiroz should use 2 different instances, but he also asked how we can use a different tsconfig for each instance. |
Yes thanks. |
I currently have two folders
src
andsw
(which would be a different environment, in this case a service worker) and I want to use different tsconfig.json files for each folder. Although ts-loader picks one tsconfig.json file, ignore the other and then use the picked one to compile all files of both directories. How can I fix that behavior? I have a different tsconfig.json file inside each of these projects.Sorry if this is a duplicate, I already searched a few issues in this repository but none of them fixed my problem.
The text was updated successfully, but these errors were encountered: