Skip to content

Commit

Permalink
chore: 🤖 clean
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Oct 4, 2024
1 parent f62be9c commit d9a0128
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions crates/oxc_transformer/src/plugins/replace_global_defines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,22 +279,6 @@ impl<'a> ReplaceGlobalDefines<'a> {
}
}

// pub fn is_import_meta_with_postfix_wildcard(
// &self,
// member: &StaticMemberExpression<'a>,
// ) -> Option<&CompactStr> {
// let (replacement, wildcard) = self.config.0.import_meta.as_ref()?;
// if !wildcard {
// return None;
// }
// let Expression::MetaProperty(ref meta_property) = member.object else {
// return None;
// };
// if meta_property.meta.name == "import" && meta_property.property.name == "meta" {
// return Some(replacement);
// }
// None
// }
pub fn is_meta_property_define(
meta_define: &MetaPropertyDefine,
member: &StaticMemberExpression<'a>,
Expand Down

0 comments on commit d9a0128

Please sign in to comment.