Skip to content

Commit

Permalink
Merge commit 'refs/pull/1635/head' of github.com:vikejs/vike
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed May 12, 2024
2 parents bbb131e + 185b0a4 commit 3b2cb88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vike/node/plugin/plugins/devConfig/index.ts
Expand Up @@ -80,7 +80,9 @@ function devConfig(): Plugin[] {
configureServer: {
order: 'post',
handler(server) {
if (config.server.middlewareMode) return
const hasHonoViteDevServer = !!config.plugins.find((p) => p.name === '@hono/vite-dev-server')

if (config.server.middlewareMode || hasHonoViteDevServer) return
return () => {
addSsrMiddleware(server.middlewares)
}
Expand Down

0 comments on commit 3b2cb88

Please sign in to comment.