uglifyjs 0.0.5

Minify using uglifyjs

Released 2018-05-16.

To install, run:

haxelib install uglifyjs 0.0.5

See using Haxelib in Haxelib documentation for more information.

This is not the latest stable version of uglifyjs. See version 0.0.6 for the latest version.

Maintainermarkknol
Websitehttps://github.com/markknol/hx-uglifyjs
Current version0.0.6
StatisticsInstalled 363 times
LicenseMIT
Tags

README.md

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.

Installation

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

# keep JavaScript comments
-D uglifyjs_comments
-D uglifyjs_comments=filter