fix(plugin-loader): update context filtering logic for backend mode (#2990)

This commit is contained in:
Franz DC
2025-02-17 23:35:55 +08:00
committed by GitHub
parent 86c77d141f
commit fe925ec8ee

View File

@ -130,7 +130,7 @@ export default function (
const stubContexts =
mode === 'backend'
? contexts.filter((ctx) => ctx !== 'backend')
? contexts.filter((ctx) => ctx !== 'menu')
: contexts;
for (const ctx of stubContexts) {
if (stubMap.has(ctx)) {