wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
12.79k stars 1.14k forks source link

Figure out Wasp's `tsconfig` story after Wasp 0.12.0 #1827

Open sodic opened 4 months ago

sodic commented 4 months ago

During the restructuring in Wasp 0.12.0, we had plans to optimize how Wasp uses different tsconfig.json files.

Wasp 0.12.0 ended up being a compromise between ease of implementation and DX. Now that 0.12.0 is out, we can focus on optimizing how Wasp uses and interprets tsconfig files.

Here's the original issues for context:

Other relevant context:

TSconfig-related issues that are still relevant after 0.12.0:

sodic commented 1 month ago

Project references may help us have users' code compiled with their own tsconfig.json.:

Reference: Effective Typescript, 2nd edition, item 78.