closure 0.3.0

Google Closure Compiler plugin for Haxe builds.

Released 2018-03-09.

To install, run:

haxelib install closure 0.3.0

See using Haxelib in Haxelib documentation for more information.

Current version0.3.0
StatisticsInstalled 6103 times


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.