kentcdodds / kcd-scripts

CLI toolbox for common scripts for my projects
http://npm.im/kcd-scripts
MIT License
885 stars 207 forks source link

tsconfig conflicts with build #197

Open ph-fritsche opened 3 years ago

ph-fritsche commented 3 years ago

shared-tsconfig allow importing modules from src per module name.

https://github.com/kentcdodds/kcd-scripts/blob/5c6994534ab4438d4b7cf3ee9cea6981740f2298/shared-tsconfig.json#L13

The IDE picks this up and suggests using non-relative imports.

kcd-scripts build does not support the import from baseUrl and resulting build is corrupt.

Suggested solution:

Remove the baseURL.

kentcdodds commented 3 years ago

Agreed! It's a poor choice as a default.