mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 11:56:29 +00:00
fix(build): isPluginPackage
This commit is contained in:
parent
dea4c6f9c7
commit
31f01dd004
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user