-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
Unable to use multiple ts config files #1096
Comments
I believe this is related to the issue solved in pull request #1104. Essentially, the loader only uses the options on the first instance. Options on the second instance are ignored. You can override this by specifying a name with the instance option:
With this change your minimal repo builds. It should be fixed without specifying this option explicitly when #1104 is merged. |
For my particular use case I found an easier solution
https://www.typescriptlang.org/docs/handbook/jsx.html#factory-functions |
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. |
Expected Behaviour
I would like to have two different ts config files.
Actual Behaviour
I have a project with two somehow separate folders:
I should probably create distinct repositories, but I thought that it makes my life easier for now, because the APP will be my first POC for the SDK. The SDK shows only little bit of HTML and uses Preact because of the small size, but I cannot get them to work in one webpack config.
I have two different entry points and tried to use two rules. But my understanding from the Readme is that it should not be needed:
Steps to Reproduce the Problem
I have created a minimum repository to reproduce the problem. It contains a little bit of extra packages which I have no removed.
https://github.com/SebastianStehle/tsloader-test
The text was updated successfully, but these errors were encountered: