Skip to content

Commit

Permalink
fix webpack loader incorrectly calling custom_evaluate (vercel/turbor…
Browse files Browse the repository at this point in the history
…epo#7813)

### Description

fixes SCSS HMR for imported files

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->


Closes PACK-2818

fixes PACK-2809
  • Loading branch information
sokra authored Mar 22, 2024
1 parent 750bb77 commit 639e6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/turbopack-node/src/transforms/webpack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl WebpackLoadersProcessedAsset {
bail!("Resource path need to be on project filesystem");
};
let loaders = transform.loaders.await?;
let config_value = custom_evaluate(WebpackLoaderContext {
let config_value = evaluate_webpack_loader(WebpackLoaderContext {
module_asset: webpack_loaders_executor,
cwd: project_path,
env,
Expand Down

0 comments on commit 639e6c6

Please sign in to comment.