enhance unused (#4098)
This commit is contained in:
@@ -4400,6 +4400,7 @@ merge(Compressor.prototype, {
|
||||
}
|
||||
return scan_ref_scoped(node, descend, true);
|
||||
});
|
||||
tw.directives = Object.create(compressor.directives);
|
||||
self.walk(tw);
|
||||
// pass 2: for every used symbol we need to walk its
|
||||
// initialization code to figure out if it uses other
|
||||
|
||||
Reference in New Issue
Block a user