rules_nodejs icon indicating copy to clipboard operation
rules_nodejs copied to clipboard

Allow import paths to be workspace-relative

Open alexeagle opened this issue 5 years ago • 3 comments

In https://github.com/bazelbuild/rules_typescript/issues/77 we let you import {} from 'my_wksp/src/some_file'

but in some existing codebases there's an assumption that TypeScript is configured such that you can

import {} from 'src/some_file'

rather than require these applications to change all their imports, maybe we could allow the ts_library rule to be configured to work.

alexeagle avatar May 21 '19 19:05 alexeagle