Home > @lynx-js/rspeedy > CreateRspeedyOptions
#CreateRspeedyOptions interface
The options of createRspeedy method.
Signature:
export interface CreateRspeedyOptions #Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(Optional) The name of the framework or tool that is currently invoking Rsbuild. This allows plugins to tailor their behavior based on the calling context. | ||
|
string |
(Optional) The root path of the current build. | ||
|
CreateRsbuildOptions['environment'] |
(Optional) Only build specified environments. For example, passing | ||
|
CreateRsbuildOptions['loadEnv'] |
(Optional) Rspeedy automatically loads the .env file by default, utilizing the [Rsbuild API](https://rsbuild.rs/api/javascript-api/core\#load-env-variables). You can use the environment variables defined in the .env file within your code by accessing them via | ||
|
(Optional) The config of Rspeedy. |

