Skip to content

Commit

Permalink
chore: 🤖 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Mar 20, 2023
1 parent ba0a9c0 commit 158c037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rspack_core/src/tree_shaking/optimizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ async fn par_analyze_module(
// &analyzer.import_map,
// &analyzer.maybe_lazy_reference_map, // &analyzer.immediate_evaluate_reference_map, // &analyzer.reachable_import_and_export, // &analyzer.used_symbol_ref // ); // }

Some((uri_key, analyzer.into()))
Some((uri_key, analyzer))
})
.collect::<IdentifierMap<TreeShakingResult>>()
};
Expand Down
1 change: 1 addition & 0 deletions crates/rspack_core/src/tree_shaking/visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ pub(crate) struct ModuleRefAnalyze<'a> {
pub(crate) has_side_effects_stmt: bool,
unresolved_ctxt: SyntaxContext,
pub(crate) potential_top_mark: HashSet<Mark>,
#[allow(dead_code)]
comments: Option<&'a SwcComments>,
}

Expand Down

0 comments on commit 158c037

Please sign in to comment.