Hey Nick!
Thanks for the details. Good to know. If it's on the way out, we'll probably avoid looking at that code path further, and disable transpile.js via the goog.TRANSPILE "never" option.
I think I understand the function of this module, if I'm not mistaken: Parts of closure library adopted es6 syntax (made available via "goog.module"), and transpilation is required to make things continue to work in older (yet still supported) browsers (e.g. IE9) — without having to run or install anything extra.
Is the point which transpile.js is to be excised, the same point which support for a browser generation stops?
Curious if the transpiled compiler was at all "maintainable" in its Javascript variant. Did J2CL output a single binary, or did it output Javascript in separate modules in separate files which could then be edited alone and recompiled?
I can see trade-offs being made to annotate and also with various "stub" classes.. Lo, neat work.
Thank You!
Nate
Hey Nick!
Thanks for the details. Good to know. If it's on the way out, we'll probably avoid looking at that code path further, and disable transpile.js via the goog.TRANSPILE "never" option.
I think I understand the function of this module, if I'm not mistaken: Parts of closure library adopted es6 syntax (made available via "goog.module"), and transpilation is required to make things continue to work in older (yet still supported) browsers (e.g. IE9) — without having to run or install anything extra.
Is the point which transpile.js is to be excised, the same point which support for a browser generation stops?
Curious if the transpiled compiler was at all "maintainable" in its Javascript variant. Did J2CL output a single binary, or did it output Javascript in separate modules in separate files which could then be edited alone and recompiled?
On Saturday, February 27, 2021 at 9:57:04 a.m. UTC-8 Nate wrote:Hey Nick!
Thanks for the details. Good to know. If it's on the way out, we'll probably avoid looking at that code path further, and disable transpile.js via the goog.TRANSPILE "never" option.
I think I understand the function of this module, if I'm not mistaken: Parts of closure library adopted es6 syntax (made available via "goog.module"), and transpilation is required to make things continue to work in older (yet still supported) browsers (e.g. IE9) — without having to run or install anything extra.
Almost, but it's specific to these HTML tests. It's fairly easy to do transpilation on the server side, when the testing browser requests the code, if all the test code is in JS files.
Many Thanks!
Nate
--
---
You received this message because you are subscribed to the Google Groups "Closure Compiler Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-compiler-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/closure-compiler-discuss/6a581586-9b8e-4ede-ba4a-29972ef7f426n%40googlegroups.com.