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 | undefined |
(Optional) The Dev option is used to control the behavior related with development. Including: HMR, DevServer, etc. | ||
|
RsbuildConfig['environments'] | undefined |
(Optional) The Config.environments option is used to set the output environment. | ||
|
'development' | 'production' | 'none' | undefined |
(Optional) Specify the build mode for Rsbuild and Rspack, as each mode has different default behavior and optimizations. | ||
|
Output | undefined |
(Optional) The Output option is used to set how and where should the bundles and assets output. | ||
|
Performance | undefined |
(Optional) The Performance option is used to optimize the build-time and runtime performance. | ||
|
RsbuildPlugins | undefined |
(Optional) The | ||
|
Resolve | undefined |
(Optional) The Resolve option is used to control the resolution behavior of Rspack. | ||
|
Server | undefined |
(Optional) The Server option changes the behavior of dev-server. | ||
|
Source | undefined |
(Optional) The Source option changes the behavior of source files. | ||
|
Tools | undefined |
(Optional) The Tools options changes the behavior of various building tools. |