Skip to content

Releases: markknol/hx-uglifyjs

v1.0.0

16 Oct 08:24
a517433
Compare
Choose a tag to compare
Update haxelib.json

v0.0.91

11 Apr 12:11
c648546
Compare
Choose a tag to compare

Fix missing extraParams.hxml

v0.0.9

05 Apr 07:52
f3d60a5
Compare
Choose a tag to compare

Defines for setting uglify's sourcemap generation options.

# url='url/to/sourcemap/directory/OutFile.map'
# value will default to just OutFile.map if define value is not specified
-D uglifyjs_sourcemap_url[='url/to/sourcemap/directory/']

# includeSources
-D uglifyjs_sourcemap_sources

# base=path/to/base
-D uglifyjs_sourcemap_base=path/to/base

# root=path/to/root
-D uglifyjs_sourcemap_root=path/to/root

# content=path/to/inputmap.js.map
-D uglifyjs_sourcemap_content=path/to/inputmap.js.map

# file=path/to/InFile.js
-D uglifyjs_sourcemap_file=path/to/InFile.js

See UglifyJS docs for details on usage

v0.0.8

30 Jul 20:34
Compare
Choose a tag to compare

Enable to run compileFile() from non macro context, eg. for Neko.

v0.0.7

31 May 08:04
a6e4dea
Compare
Choose a tag to compare

Added new flag -D uglifyjs_slavemode to disable minification without setting -D uglifyjs_disabled in order to avoid confusion when controlled by other tools like modular.

v0.0.6

17 May 10:21
f6d04b4
Compare
Choose a tag to compare

Override default uglify-js node module path -D uglifyjs_bin=path/to/bin/uglifyjs

v0.0.5

16 May 13:20
7e1a40f
Compare
Choose a tag to compare

Small fix for --comments

v0.0.4

16 May 12:55
c671e0a
Compare
Choose a tag to compare

Support --comments using -D uglifyjs_comments. To provide a filter, use -D uglifyjs_comments=/^!/

v0.0.3

23 Apr 13:43
aa11a07
Compare
Choose a tag to compare

Don't run uglify command in display mode

v0.0.2

06 Apr 10:12
6b789cf
Compare
Choose a tag to compare
  • Refactor to expose a compileFile method.
  • Added flags -D uglify_no_compress and -D uglify_no_mangle to disable compression/mangling.
  • Supported global installation of uglify-js

Thanks to @elsassph