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

Add API to determine output file names #79

Closed
ajafff opened this issue Aug 29, 2018 · 2 comments
Closed

Add API to determine output file names #79

ajafff opened this issue Aug 29, 2018 · 2 comments

Comments

@ajafff
Copy link
Owner

ajafff commented Aug 29, 2018

Given a fileName and a CompilerOptions object, determine the output file name(s).
It also needs an API to determine the output file name(s) for projects with outFile.

This requires another helper function to determine the inferred or declared rootDir of a given config.

Needed for fimbullinter/wotan#392
Related: microsoft/TypeScript#26410

@ajafff ajafff self-assigned this Aug 29, 2018
@ajafff
Copy link
Owner Author

ajafff commented Aug 29, 2018

maybe add an option to include sourceMaps as well if they are enabled in CompilerOptions and not inlined

@ajafff ajafff removed their assignment Nov 1, 2018
@ajafff
Copy link
Owner Author

ajafff commented Nov 1, 2018

The logic for handling output file names of project references is currently added directly to Fimbullinter.
There will be much more work for the case where rootDir is not set (either explicitly or via composite) as it needs all file names and compute the common source directory. Currently I don't need such functionality. If there's demand for it, I'll add it though.

@ajafff ajafff closed this as completed Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant