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.
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.