Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Implement a module import scheme that relies upon absolute paths for external typedefs #142

Closed
drewbryant opened this issue Mar 11, 2015 · 0 comments
Milestone

Comments

@drewbryant
Copy link
Contributor

Current issue is that the source code needs to be compiled in multiple locations, each of which must have the correct number of parent directories to the externs/ts typedefs (because only relative paths are permitted). One workaround would be to symlink externs/ts to each build location and then change all import references to account for this.

All of this trickery would be unnecessary if TypeScript supported a requirejs-style path config specification, but it does not at the moment.

This module path config feature is being actively discussed within the TypeScript community, so
opting to see how it plays out before implementing more complex work-arounds.

For discussion, see: microsoft/TypeScript#293

Maintaining this issue as a reminder to periodically check-in on the progress of the TypeScript path config specification.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants