Skip to content

Commit

Permalink
feat: support runtime requirements in tree hook
Browse files Browse the repository at this point in the history
  • Loading branch information
LingyuCoder committed Sep 19, 2024
1 parent 1b5872f commit 271d0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rspack_core/src/compiler/compilation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ impl Compilation {
runtime_requirements = runtime_requirements_mut;
runtime_requirements_mut = RuntimeGlobals::default();
call_hook(
&requirements,
requirements,
&runtime_requirements,
&mut runtime_requirements_mut,
)?;
Expand Down

0 comments on commit 271d0f2

Please sign in to comment.