Migrate custom v3 config to local plugins if needed
This commit is contained in:
parent
f494781ff2
commit
2981853e88
8 changed files with 403 additions and 77 deletions
|
|
@ -306,9 +306,12 @@ function requirePlugins(): any[] {
|
|||
}
|
||||
};
|
||||
|
||||
return plugins_
|
||||
return [
|
||||
...localPlugins.filter((p) => basename(p) === 'migrated-hyper3-config'),
|
||||
...plugins_,
|
||||
...localPlugins.filter((p) => basename(p) !== 'migrated-hyper3-config')
|
||||
]
|
||||
.map(load)
|
||||
.concat(localPlugins.map(load))
|
||||
.filter((v) => Boolean(v));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue