From 31f01dd0045b0a95a6c06dd52de1f4ced727aa26 Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 15 Aug 2023 12:21:11 +0800 Subject: [PATCH] fix(build): isPluginPackage --- packages/core/build/src/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/build/src/build.ts b/packages/core/build/src/build.ts index 7dd1f67ca..1d0be35f5 100755 --- a/packages/core/build/src/build.ts +++ b/packages/core/build/src/build.ts @@ -103,7 +103,7 @@ function isPluginPackage(name: string) { const prefixes = (process.env.PLUGIN_PACKAGE_PREFIX || '').split(','); for (const prefix of prefixes) { if (prefix.includes('preset')) { - return false; + continue; } if (name.startsWith(prefix)) { return true;