mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
perf(es/minifier): Skip useless analysis if not required (#5733)
This commit is contained in:
parent
6510ced0f9
commit
8963db0a1d
@ -223,7 +223,7 @@ where
|
||||
thread::current().name()
|
||||
);
|
||||
|
||||
{
|
||||
if self.options.hoist_vars || self.options.hoist_fns {
|
||||
let data = analyze(&*n, self.module_info, Some(self.marks));
|
||||
|
||||
let mut v = decl_hoister(
|
||||
|
Loading…
Reference in New Issue
Block a user