Skip to content

Commit

Permalink
cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ahabhgk committed Feb 21, 2025
1 parent 3c19f22 commit 6ba4488
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/rspack_core/src/compiler/compilation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,10 @@ impl Compilation {
}

let start = logger.time("finish modules");
// finish_modules means the module graph (modules, connections, dependencies) are
// frozen and start to optimize (provided exports, infer async, etc.) based on the
// module graph, so any kind of change that affect these should be done before the
// finish_modules
plugin_driver
.compilation_hooks
.finish_modules
Expand Down

0 comments on commit 6ba4488

Please sign in to comment.