Skip to content

Commit

Permalink
chore: put back inject behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Nov 25, 2024
1 parent 40315e7 commit 5f3de9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vike-node/src/plugin/plugins/serverEntryPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export function serverEntryPlugin(): Plugin {
config
)
}

config.vitePluginServerEntry ??= {}
config.vitePluginServerEntry.inject = Object.keys(resolvedEntries)
}
}
}

0 comments on commit 5f3de9c

Please sign in to comment.