Hugo supports pre-processing CSS files via SCSS, and post-processing via PostCSS.
Hugo’s Built-in Asset Pipeline
Using Hugo’s asset pipeline, you can use Sass, SCSS, and PostCSS. You can also bundle and minify assets.
Best Practices for Gulp, Grunt, and Other Build Tools
- Use a NodeJS-based tool installable via NPM and configured in
- Define the build script(s) as NPM scripts in your
- Use custom build commands to call these NPM scripts.
Caught a mistake or want to contribute to the docs? Edit this page on Github!