fix(es/minifier): Remove print

This commit is contained in:
Donny/강동윤 2022-09-29 15:50:21 +09:00
parent f86ff4fa7c
commit af8236d689

View File

@ -570,7 +570,6 @@ where
// seems like a correct check, but it's way to aggressive.
// It does not break the code, but everything like _asyncToGenerator is inlined.
//
println!("{} {:#?}", i.sym, usage);
if (self.options.reduce_vars || self.options.collapse_vars || self.options.inline != 0)
&& usage.ref_count == 1
&& (usage.is_fn_local || !usage.used_in_non_child_fn || usage.used_as_callee)