Skip to content

How to use Result.transpiledFiles? #4064

Answered by KOLANICH
KOLANICH asked this question in Q&A
Discussion options

You must be logged in to vote

I've found it is nearly impossible to use it without first starting from the command line runner, figuring out what kinds of options it would have created, and what each of those options would have done to the Compiler to produce what you expected, and only they start tweaking things in ways that are impossible with the command line...

Yeah, I did the same.

poking quickly at the Java sources where result.transpiledFiles is read

I have also poked, and found nothing useful. I mean I have tried different options set in those context, but still get an empty array.

But thanks for the info.

It feels like that prop is used only when outputting legacy versions of ECMAScript is requested. The …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by KOLANICH
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants