dev.setupMiddlewares
- Type:
- Default:
undefined
Provides the ability to execute a custom function and apply custom middlewares.
Info
The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - dev.setupMiddlewares.