Skip to content

Commit

Permalink
chore: 🤖 update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Aug 20, 2024
1 parent 5c393e0 commit a254a8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/oxc_minifier/src/plugins/replace_global_defines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,9 @@ impl<'a> ReplaceGlobalDefines<'a> {
return false;
};

// Considering `import.meta.env` -> `undefined`, for the first loop the i is already
// 0, if it did not match and still reach there, that means
// Config `import.meta.env.* -> 'undefined'`
// Considering try replace `import.meta.env` to `undefined`, for the first loop the i is already
// 0, if it did not match part name and still reach here, that means
// current_part_member_expression is still something, and possible to match in the
// further loop
if i == 0 && matched {
Expand Down

0 comments on commit a254a8a

Please sign in to comment.