Allow tailwindcss to be executed so the site builds again (#764)

This commit is contained in:
Felix Itzenplitz authored and GitHub committed 2026-08-15 15:28:41 +02:00
1 parent cefbcd8539
commit e6553d6025
1 file changed
+9
@@ -8,6 +8,15 @@ _merge = "deep"
[taxonomies]
tag = "tags"
# The shared Hugo Docs layouts run the stylesheet through css.TailwindCSS, and
# Hugo's default security policy does not allow that binary to be executed --
# note that the default node permissions below it already whitelist tailwindcss,
# so only the exec list is out of step. Without this the site build fails with
# `TAILWINDCSS: failed to transform "/css/styles.css" ... access denied`.
[security]
[security.exec]
allow = ['^(dart-)?sass$', '^go$', '^git$', '^node$', '^postcss$', '^tailwindcss$']
[module]
[module.hugoVersion]
min = "0.145.0"