kentcdodds / kcd-scripts

CLI toolbox for common scripts for my projects

Home Page:http://npm.im/kcd-scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tsconfig conflicts with build

ph-fritsche opened this issue · comments

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

"baseUrl": "../../src",

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.

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