diff --git a/packages/vite/src/client.ts b/packages/vite/src/client.ts index a324625a8d..b6edb17cb2 100644 --- a/packages/vite/src/client.ts +++ b/packages/vite/src/client.ts @@ -110,7 +110,7 @@ export async function buildClient (ctx: ViteBuildContext) { clientConfig.server = defu(clientConfig.server, { https: ctx.nuxt.options.devServer.https, hmr: { - clientPort: ctx.nuxt.options.devServer.port, + clientPort: ctx.nuxt.options.devServer.port } }) }