jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.26k stars 508 forks source link

(fix): templates should not have baseUrl or paths set #707

Closed agilgur5 closed 4 years ago

agilgur5 commented 4 years ago

Long time coming for this one, these have been in the codebase since the very first template was added in 9010ecbda5 and have caused much confusion since then.

Fixes the root cause of #91, #699, #516, #139, #133, etc, but doesn't add an import/rewrite mechanism, which has been requested in some of those issues. Does fix confusion / bugs due to the faulty templates. Specifically:

Full support for aliases, i.e. an import rewrite/transform mechanism, will be added eventually, keep an eye on #91 for that.