improve synergy between compress and rename (#2755)

This commit is contained in:
Alex Lam S.L
2018-01-09 17:55:41 +08:00
committed by GitHub
parent 2972d58dbb
commit bf832cde16
3 changed files with 23 additions and 28 deletions

View File

@@ -141,7 +141,6 @@ function minify(files, options) {
}
if (timings) timings.rename = Date.now();
if (options.rename) {
SymbolDef.next_id = 1;
toplevel.figure_out_scope(options.mangle);
toplevel.expand_names(options.mangle);
}