sindresorhus / tsconfig

Shared TypeScript config for my projects
MIT License
346 stars 29 forks source link

Change outDir in readme #5

Closed fregante closed 5 years ago

fregante commented 5 years ago

outDir is already dist in the config.

By the way, this outDir in your config somehow causes TS not to produce any files (if the folder is missing) like in https://github.com/bfred-it/delegate-it/pull/5/commits/62fc1914baa508ca1adcb47b40e049a573e17974 -> https://github.com/bfred-it/delegate-it/pull/5/commits/975d2277797ccf80cfb1912d880736b1591a1f14

tsc --outDir dist and the local tsconfig.json files work correctly, so this looks like an extends-specific bug. Perhaps it should be dropped until the bug it's fixed in TS

sindresorhus commented 5 years ago

By the way, this outDir in your config somehow causes TS not to produce any files (if the folder is missing) like in bfred-it/delegate-it@62fc191 -> bfred-it/delegate-it@975d227

Yes, this is a TS bug: https://github.com/Microsoft/TypeScript/issues/29172

outDir is already dist in the config.

I included it in the the readme exactly because of the TS bug. But in hindsight, better to just disable the outDir in the config for now until it's fixed in TS.