mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
fix(es/minifier): Remove print
This commit is contained in:
parent
f86ff4fa7c
commit
af8236d689
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user