isaacs / tshy

Other
890 stars 18 forks source link

should tshy.selfLink default to false on Windows? #20

Closed isaacs closed 1 year ago

isaacs commented 1 year ago

I keep having to set this explicitly because my Windows vm doesn't allow symlinks in the way tshy tries to create them.

It's also really only a nice to have, because tsc will resolve importing self-exports already, based on the exports in ./package.json, and the deployed package will be able to walk up the tree to find the root package.json and resolve the exports properly, without the symlink.

It's only needed if you are importing self-exports, and load your code from ./dist in tests or something.