There is a CSS file in my theme’s static file directory, I want to run PostCSS on it (to purge it). I’m using
resources.Get but that didn’t work (I get some nil reference error). I read in the docs that anything that needs to be processed by Hugo pipes should live in an assertDir.
I didn’t want to copy files from the theme folder, and since I don’t have any other assets, I configured my
assertDir = "static", but that didn’t change anything about the error.
How do I go about doing this?