Home > @lynx-js/rspeedy > Config

Config interface

The Config is the configuration that rspeedy uses.

Signature:

export interface Config

Properties

Property Modifiers Type Description
dev? Dev | undefined (Optional) The Dev option is used to control the behavior related with development. Including: HMR, DevServer, etc.
environments? RsbuildConfig['environments'] | undefined (Optional) The Config.environments option is used to set the output environment.
mode? 'development' | 'production' | 'none' | undefined (Optional) Specify the build mode for Rsbuild and Rspack, as each mode has different default behavior and optimizations.
output? Output | undefined (Optional) The Output option is used to set how and where should the bundles and assets output.
performance? Performance | undefined (Optional) The Performance option is used to
plugins? RsbuildPlugins | undefined (Optional) The plugins option is used to customize the build process in a variety of ways.
provider? RsbuildConfig['provider'] (ALPHA) (Optional) The Rsbuild provider.
server? Server | undefined (Optional) The Server option changes the behavior of dev-server.
source? Source | undefined (Optional) The Source option changes the behavior of source files.
tools? Tools | undefined (Optional) The Tools options changes the behavior of various building tools.
除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。