You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having issue with monorepo with a multiple TypeScript packages.
Previously, I was able to import any TypeScript file from another package and compilation will handle it. However, after upgrading from 2.0.0-next.3e165448 to 2.0.4 typescript files from another packages or even from another directory than src are not compiled anymore.
Any suggestions why this happens?
The text was updated successfully, but these errors were encountered:
Unfortunately monorepo support was dropped between the beta and final release. I added some information about the situation here: #30
It should be possible to reproduce that monorepo support by reviewing the the changes in the files listed in that linked issue. The CRA team also outlined some alternatives.
I think that it is time to create my own build config as CRA brings more harm than good for us. We always need to rewire it anyway 😞 .
I think that the biggest issue they have with a monorepo support is that they don't know if package should be transpiled or not. For TypeScript users, it's not a problem as we always need to transpile *.ts files.
Uh oh!
There was an error while loading. Please reload this page.
I'm having issue with monorepo with a multiple TypeScript packages.
Previously, I was able to import any TypeScript file from another package and compilation will handle it. However, after upgrading from
2.0.0-next.3e165448
to2.0.4
typescript files from another packages or even from another directory thansrc
are not compiled anymore.Any suggestions why this happens?
The text was updated successfully, but these errors were encountered: