Google Closure Compiler plugin for Haxe builds.

To install, run:

haxelib install closure 0.3.1 

See using Haxelib in Haxelib documentation for more information.


This library plugs in the Google Closure Compiler into your build.

Usage in Haxe builds:

-lib closure

# turn on advanced compilation:
-D closure_advanced

# turn on pretty printing:
-D closure_prettyprint

# overwrite original output rather then generating a .min.js next to it
-D closure_overwrite

# optional. set specific ecmascript version:
-D closure_language_in=ECMASCRIPT5

# set warning level. Can be DEFAULT, VERBOSE or QUIET.
-D closure_warning_level=QUIET

# disable closure compiler from being executed:
-D closure_disabled

How to install

Closure is available on haxelib To install:

haxelib install closure

The Google Closure Compiler requires Java Runtime Environment version 7+ to be installed.

2 weeks ago

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser!

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github