Fix CSS purge
See:
- https://purgecss.com/extractors.html
- https://discourse.gohugo.io/t/hugo-tailwindcss-purging-too-aggressively/35668/2
- https://github.com/csstools/postcss-preset-env
- …
Need to
- add .js files in
content
option - define the custom extractor only for
hugo_stats.json
(extensions: [json]
) - check the whole CSS build process
Edited by Yaacov