Closed DazWilkin closed 6 years ago
The JS version currently does not support any filesystem operations. Adding them is non-trivial, but something I'm looking at.
The cli script used to support npx at https://github.com/google/closure-compiler-npm now supports the js_output_file flag.
The JavaScript implement does not currently support designating an output file.
There is a flag with the Java implementation: js_output_file
I believe (!?) a limitation without this is that I'm unable to effectively containerize the compiler by deriving its image from a baseline npm image.
Dockerfile
:I'd like to be able to:
But the default to stdout requires file redirection (I think!?) requires me to expose a shell and then wrap the command:
E.g
FROM ubuntu
and then: