From b0920988cc898273bfbb4d69fcdcef732392b53a Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 1 Dec 2024 20:01:21 +0800 Subject: [PATCH] fix: remove unused condition --- packages/core/src/plugins/resolve.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/core/src/plugins/resolve.ts b/packages/core/src/plugins/resolve.ts index 5d3b562b8c..3265d5fdc1 100644 --- a/packages/core/src/plugins/resolve.ts +++ b/packages/core/src/plugins/resolve.ts @@ -69,10 +69,6 @@ function applyAlias({ }) { const { alias } = config.source; - if (!alias) { - return; - } - const mergedAlias = reduceConfigs({ initial: {}, config: alias,