https://github.com/mishoo/UglifyJS
Revision f5cbe19b753bf84f8b11f96e2c91a8ca49525dba authored by Alex Lam S.L on 28 February 2017, 20:12:10 UTC, committed by GitHub on 28 February 2017, 20:12:10 UTC
Modules like webpack and grunt-contrib-uglify still uses `ast.transform(compressor)` before `Compressor.compress(ast)` was introduced.

Workaround this compatibility issue by deactivating `reduce_vars` in such case.

Also fix use case with omitted `options` when calling `Compressor()`.

fixes #1516
1 parent b34fa11
History
Tip revision: f5cbe19b753bf84f8b11f96e2c91a8ca49525dba authored by Alex Lam S.L on 28 February 2017, 20:12:10 UTC
invert `reduce_vars` tracking flag (#1519)
Tip revision: f5cbe19
File Mode Size
bin
lib
test
tools
.gitattributes -rw-r--r-- 20 bytes
.gitignore -rw-r--r-- 35 bytes
.travis.yml -rw-r--r-- 150 bytes
LICENSE -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 40.1 KB
appveyor.yml -rw-r--r-- 350 bytes
package.json -rw-r--r-- 1.3 KB

README.md

back to top