Monorepos and cross package development. To use src/ or dist/? Monorepos and cross package development. To use src/ or dist/? typescript typescript

Monorepos and cross package development. To use src/ or dist/?


I am going to close this question, because I believe that this is the proper behavior to fix it!

Seems that even within the TS community, there is confusion on this.

When you build within frontend/ it should know that dateTimeHelpers is a dependency and subsequently build that.

So this means that each package is always working out of dist/ but webpack knows to compile across packages.

https://github.com/TypeStrong/ts-loader/releases/tag/v8.0.0

https://github.com/TypeStrong/ts-loader/issues/1114