fix(build): isPluginPackage

This commit is contained in:
chenos 2023-08-15 12:21:11 +08:00
parent dea4c6f9c7
commit 31f01dd004

View File

@ -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;