# Trying to understand postprocessing ;)

**URL:** <https://discourse.gohugo.io/t/trying-to-understand-postprocessing/29675>\
**Category:** support\
**Tags:** postprocess\
**Created:** [November 27, 2020, 1:33pm UTC](https://discourse.gohugo.io/t/trying-to-understand-postprocessing/29675 "2020-11-27T13:33:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidsneighbour](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/davidsneighbour/32/24507_2.png) [@davidsneighbour](https://discourse.gohugo.io/u/davidsneighbour)\
**Post date:** [November 27, 2020, 1:33pm UTC](https://discourse.gohugo.io/t/trying-to-understand-postprocessing/29675/1 "2020-11-27T13:33:38Z")

</div>

This might be obvious to the trained eye, but where exactly goes the code that is in the documentation about post-processing after the config sample? Starting with `const purgecss` and ending with a `module.export`.

> **[PostProcess](https://gohugo.io/hugo-pipes/postprocess/#css-purging-with-postcss)**
>
> Allows delaying of resource transformations to after the build.

Is that something unconnected to Hugo that has to run after the creation process? If so, what exactly is `resources.PostProcess` doing? I have the slight feeling that the documentation expects us to know something about tailwind that I specifically don’t know (yet)?

---

<div class="post-metadata">

**Author:** ![philoserf](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/philoserf/32/13766_2.png) [@philoserf](https://discourse.gohugo.io/u/philoserf)\
**Post date:** [April 6, 2021, 10:51pm UTC](https://discourse.gohugo.io/t/trying-to-understand-postprocessing/29675/2 "2021-04-06T22:51:15Z")

</div>

You are correct. The documentation and even the test code, related to post processing needs improvement. It isn’t clear to anyone unfamiliar with node.js frameworks in general and Tailwind CSS in particular. Hugo’s post processing is a bit opaque.

I will be making an effort to untangle the knot and put the Hugo post processing first. No promises. I’ll be untangling what I do not yet understand.
