Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.json: Optimize usage of google-closure-compiler. #16372

Merged
merged 1 commit into from
May 22, 2019

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 2, 2019

With this change, the closure compiler does not always use Java. On Mac OS or Linux, the compiler can use native binaries which is faster. If Java is not available, the compiler will fallback to the JS version.

I've realized that the google-closure-compiler package includes the JS version (related #16066 (comment)). It is already possible to use the compiler in node like so:

const ClosureCompiler = require('google-closure-compiler').jsCompiler;

@Mugen87 Mugen87 changed the title package.json: Allow closure compiler to use native binaries. package.json: Optimize usage of google-closure-compiler. May 2, 2019
@mrdoob mrdoob added this to the r105 milestone May 22, 2019
@mrdoob mrdoob merged commit ff81774 into mrdoob:dev May 22, 2019
@mrdoob
Copy link
Owner

mrdoob commented May 22, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants