3 ms·
You’re right, however for offline but non npm workflow, you can also use the Closure Compiler JAR, grabbed for instance from Maven: https://mvnrepository.com/ar
by palsecam 3y ago
You’re right, however for offline but non npm workflow, you can also use the Closure Compiler JAR, grabbed for instance from Maven: https://mvnrepository.com/artifact/com.google.javascript/closure-compiler https://mvnrepository.com/artifact/com.google.javascript/clo...
$ wget https://repo1.maven.org/maven2/com/google/javascript/closure-compiler/v20230502/closure-compiler-v20230502.jar
[…]
$ java -jar closure-compiler-v20230502.jar
The compiler is waiting for input via stdin.
The Closure Compiler still is a Java project. It just gets primarily distributed via NPM these days.