diff --git a/crates/swc_ecma_usage_analyzer/src/util.rs b/crates/swc_ecma_usage_analyzer/src/util.rs index 1f8e0758b2c0..fc02f1041adb 100644 --- a/crates/swc_ecma_usage_analyzer/src/util.rs +++ b/crates/swc_ecma_usage_analyzer/src/util.rs @@ -39,6 +39,7 @@ pub fn is_global_var_with_pure_property_access(s: &str) -> bool { | "NaN" | "Symbol" | "Promise" + | "WeakRef" ) }