mirror of
https://github.com/tiennm99/hugoThemesSiteBuilder.git
synced 2026-10-11 03:13:31 +00:00
Allow tailwindcss to be executed so the site builds again (#764)
This commit is contained in:
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"
|
||||
|
||||
Reference in new issue
Block a user