uglifyjs 0.0.3

Minify using uglifyjs

Released 2018-04-23.

To install, run:

haxelib install uglifyjs 0.0.3

See using Haxelib in Haxelib documentation for more information.

Current version0.0.3
StatisticsInstalled 42 times

Haxe/JavaScript Uglify

Build Status

UglifyJS is a JavaScript parser, minifier, compressor and beautifier toolkit.

This library runs the uglify-js node module after your Haxe/JavaScript build completed.


First: Install the node module using NPM:

npm install uglify-js --save

Second: Install using Haxelib:

haxelib install uglifyjs

To use in code, add to your build hxml:

-lib uglifyjs

# disable uglifyjs from being executed:
-D uglifyjs_disabled

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

# disable compression
-D uglify_no_compress

# disable mangling (renaming of local variables)
-D uglify_no_mangle