boolean
false
>= 1.2.12
Whether to create Rsbuild's server in middleware mode, which is useful for integrating with other servers.
When this option is enabled, Rsbuild will not create an HTTP server. This option is usually only needed when using the JavaScript API of Rsbuild.
A typical use case is that you want to integrate the Rsbuild server into a custom server. You can achieve this by combining server.middlewareMode
and rsbuild.createDevServer.
See Integrate with custom server for more details.