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
In order to use external build like Gulp, Grunt, or Webpack with Forestry’s instant preview, you should configure your project as follows:
- Use a Node.js-based tool installable via npm and configured in
- Use our Hugo + Node.js environment.
- Define npm scripts in your
package.jsonfile to build and serve your site.
- Use your npm serve script with your custom build command.
Caught a mistake or want to contribute to the docs? Edit this page on Github!