diff --git a/src/index.ts b/src/index.ts index 84106f9..8ea8e94 100644 --- a/src/index.ts +++ b/src/index.ts @@ -162,10 +162,7 @@ function resolveLaravelPlugin(pluginConfig: Required): LaravelPlug ...serverConfig.hmr, ...(userConfig.server?.hmr === true ? {} : userConfig.server?.hmr), }, - https: typeof userConfig.server?.https !== 'undefined' ? userConfig.server.https : { - ...serverConfig.https, - ...(typeof userConfig.server?.https === 'undefined' ? {} : userConfig.server?.https), - }, + https: userConfig.server?.https ?? serverConfig.https, } : undefined), }, resolve: {