Record<string, unknown>
{}
Replaces variables in your code with other values or expressions at compile time. This can be useful for allowing different behavior between development builds and production builds.
Each key passed into options is an identifier or multiple identifiers joined with .
.
For more information please visit Rspack - DefinePlugin.
Expressions will be replaced with the corresponding code fragments: