Minify and Load CSS Through Hugo
This post is about loading your CSS files with Hugo in an easy and efficient way, now that Hugo has asset and minification built-in. The advantages of using the functions that come with Hugo are that you don’t have to do any of the building yourself (or use a third party), it just does it!
There are a few steps involved in the code that we will walk through:
Specify your main scss filename (the one where everything imports into).