From 2cc8af0d96b4d7ffe22f1934dceb40b4f245fe3b Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Fri, 22 Mar 2024 14:32:10 +0100 Subject: [PATCH] fix webpack loader incorrectly calling custom_evaluate (#7813) ### Description fixes SCSS HMR for imported files ### Testing Instructions Closes PACK-2818 fixes PACK-2809 --- crates/turbopack-node/src/transforms/webpack.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/turbopack-node/src/transforms/webpack.rs b/crates/turbopack-node/src/transforms/webpack.rs index da94e4a605fa9..772320af7a434 100644 --- a/crates/turbopack-node/src/transforms/webpack.rs +++ b/crates/turbopack-node/src/transforms/webpack.rs @@ -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,