Skip to content

Commit fe925ec

Browse files
authored
fix(plugin-loader): update context filtering logic for backend mode (#2990)
1 parent 86c77d1 commit fe925ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite-plugins/plugin-loader.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default function (
130130

131131
const stubContexts =
132132
mode === 'backend'
133-
? contexts.filter((ctx) => ctx !== 'backend')
133+
? contexts.filter((ctx) => ctx !== 'menu')
134134
: contexts;
135135
for (const ctx of stubContexts) {
136136
if (stubMap.has(ctx)) {

0 commit comments

Comments
 (0)