From 1e26508a0ce376e993af9175d627a37e011fba67 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Fri, 22 Mar 2024 10:22:38 +0000 Subject: [PATCH] fix webpack loader incorrectly calling custom_evaluate --- 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 0e78f73769f61..bea65fe766292 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,