For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/rspeedy/rspeedy.minify.css.md.
Rspeedy logo
Rspeedy
  • English
  • Home > @lynx-js/rspeedy > Minify > css

    Minify.css property

    Whether enable the CSS minification.

    Signature:

    css?: boolean | undefined;

    Default Value

    When output.minify is enabled and css is unset, this defaults to true.

    Remarks

    When building for production, @rsbuild/plugin-css-minimizer is used to minify CSS assets for better transmission efficiency.

    Example

    • Disable the CSS minification.
    import { defineConfig } from '@lynx-js/rspeedy'
    
    export default defineConfig({
      output: {
        minify: {
          css: false,
        },
      },
    })
    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.