upswyng
upswyng copied to clipboard
Simplify TypeScript config
The example I used for the TS setup had different tsconfig.json files for dev, build, etc. This is probably needed if one is relying on the TypeScript compiler to do the build, but since we use webpack (@u/web) and rollup (everything else) we don't need a bunch of different configs.
i.e. consolidate to at most 1 tsconfig.json per package
there's a few ways to do this but when looking between web & server there are differences in the inheritance
with a single shared base and a dev vs prod style shared common (just the 2 which is appropriate for use cases)
I don't know that this is worth the effort as it's already pretty clean if a 3rd+ compiled project gets added this would be worth revisiting to optimizing maintenance efforts