Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tsify doesn't work with symlinks #135

Closed
todddcls opened this issue Apr 21, 2016 · 1 comment
Closed

Tsify doesn't work with symlinks #135

todddcls opened this issue Apr 21, 2016 · 1 comment
Labels

Comments

@todddcls
Copy link

If you have a symlinked directory in your source tree, Tsify will fail to returned the compiled code to Browserify. The problem is that Tsify stores files by their symlink path, and Browserify calls transform with the real path.

Possible options:
a) Create a secondary map in Host, that stores a path's real path, so that when transform is called, it can find it's original name.

b) Add an optional callback that can be used in transform to help map the file back.

@cartant
Copy link
Contributor

cartant commented Aug 7, 2016

This should be closed by #171.

@cartant cartant closed this as completed Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants