Home > @lynx-js/rspeedy > Minify
The Minify configures whether to enable code minification in the production build, or to configure minimizer options.
Signature:
Property | Modifiers | Type | Description |
---|---|---|---|
css? | boolean | undefined | (Optional) Whether enable the CSS minification. | |
cssOptions? | Rspack.LightningCssMinimizerRspackPluginOptions | undefined | (Optional) Minify.cssOptions is used to configure CSS minimizer options. | |
js? | boolean | undefined | (Optional) Whether enable the JavaScript minification. | |
jsOptions? | Rspack.SwcJsMinimizerRspackPluginOptions | undefined | (Optional) Minify.jsOptions is used to configure SWC minification options. |