diff options
author | kzc <zaxxon2011@gmail.com> | 2016-04-12 09:19:38 -0400 |
---|---|---|
committer | Richard van Velzen <rvanvelzen@experty.com> | 2016-04-19 20:05:33 +0200 |
commit | c55dd5ed74888d533cf8402c6ba3612916ba2885 (patch) | |
tree | df2d89aae0733406252dc2778ac54378882e5484 /tools | |
parent | e4fa4b109a0db5691d91b3dfba0eac41ac21c0ef (diff) | |
download | tracifyjs-c55dd5ed74888d533cf8402c6ba3612916ba2885.tar.gz tracifyjs-c55dd5ed74888d533cf8402c6ba3612916ba2885.zip |
Add `passes` compress option. Fix duplicate compress warnings.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/node.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/node.js b/tools/node.js index fa8c19dc..ecbf8d3e 100644 --- a/tools/node.js +++ b/tools/node.js @@ -78,7 +78,7 @@ exports.minify = function(files, options) { UglifyJS.merge(compress, options.compress); toplevel.figure_out_scope(); var sq = UglifyJS.Compressor(compress); - toplevel = toplevel.transform(sq); + toplevel = sq.compress(toplevel); } // 3. mangle properties |