google-closure-compiler-acocr
v1.0.2
Published
Google Closure Compiler with the internal option `assumeClosuresOnlyCaptureReferences` set to true to enable optimization around curried functions. For more context, see https://github.com/google/closure-compiler/issues/3713.
Downloads
1
Maintainers
Readme
Google Closure Compiler ACOCR
Google Closure Compiler with the internal option assumeClosuresOnlyCaptureReferences
set to true
to enable optimization around curried functions.
For more context, see https://github.com/google/closure-compiler/issues/3713.
This NPM package tries to reuse official binaries from the google-closure-compiler-java
package
while providing an alternative entry point that always sets assumeClosuresOnlyCaptureReferences
to true.
By default, the latest version of google-closure-compiler-java
is included.
You may need to pin the version in use as an explicit dependency or with package-lock.json
(or any lock equivalents).
Installation
(Java 8 or later required)
npm install google-closure-compiler-acocr
Example Usage
google-closure-compiler-acocr -O ADVANCED --js index.js --js_output_file index.min.js