Open ph-fritsche opened 3 years ago
shared-tsconfig allow importing modules from src per module name.
shared-tsconfig
src
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.
kcd-scripts build
baseUrl
Remove the baseURL.
baseURL
Agreed! It's a poor choice as a default.
shared-tsconfig
allow importing modules fromsrc
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 frombaseUrl
and resulting build is corrupt.Suggested solution:
Remove the
baseURL
.