-
Notifications
You must be signed in to change notification settings - Fork 490
Build fails with default tsconfig.json because of recent changes in ts-loader #156
Comments
First and foremost: I'm sorry that my changes broke something. I can reproduce the error with this package, however, if I try to boil it down I'm not getting the error anymore. |
Okay, I think I've got it boiled down. I've opened an issue over at the |
For the record: I've found the issue. Unfortunately, the architectural decisions of my changes were flawed and my tests didn't cover them properly. I've submitted a pull request to the |
Changes have been reverted in 2.3.6 which was just released. Issue can be closed. Thanks for your patience. |
Thanks for the prompt fix! |
No problem! |
This change here: TypeStrong/ts-loader#621 results in the build failing because it is now using src/src as a root directory instead of src.
If anybody else gets blocked by this, the quick workaround is to change in tsconfig.json
"rootDir": "src",
to
"rootDir": ".",
To reproduce, just run
create-react-app testing_app --scripts-version=react-scripts-ts
and then run the build, and see:The text was updated successfully, but these errors were encountered: