Version: 5.1.1
closure-compile: Compile and compress JavaScript source with the Google Closure Compiler
This library exposes the Google Closure compiler to Racket.
The module requires runtime access to Java; the value of (find-executable-path "java") should point to a valid Java executable.
(closure-compile code [compilation-level]) → string? | ||||||||||||
code : string? | ||||||||||||
|
closure-compile takes the given code and passes it to the Closure compiler. If anything bad happens, it will raise an exn:fail and hold the error message in the exception’s exn-message.
Examples: | ||||||
|