Hugo’s New CSS Powers
Summary
Hugo's CSS Powers describes the css.Build feature in Hugo v0.158.0, which lets you deliver production CSS via esbuild, enabling modern CSS without separate preprocessors. It covers bundling, minification, and browser compatibility considerations, and compares css.Build to Sass, PostCSS, and Lightning CSS. The article emphasizes testing for older browsers and suggests choosing the approach based on site needs, noting css.Build can speed up development while post-processing may be required for unsupported features.