properly configures tailwind

This commit is contained in:
Drew
2025-04-17 18:35:56 -06:00
parent a0f84311d2
commit 255cd357c5
4 changed files with 642 additions and 467 deletions

View File

@ -19,4 +19,30 @@ theme = "hugo-starter-tailwind-basic"
[params.author]
name = "Media Economies Design Lab"
twitter = ""
twitter = ""
[module]
[module.hugoVersion]
extended = false
min = "0.112.0"
[[module.mounts]]
source = "assets"
target = "assets"
[[module.mounts]]
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"
[build]
writeStats = true
[[build.cachebusters]]
source = "assets/watching/hugo_stats\\.json"
target = "styles\\.css"
[[build.cachebusters]]
source = "(postcss|tailwind)\\.config\\.js"
target = "css"
[[build.cachebusters]]
source = "assets/.*\\.(js|ts|jsx|tsx)"
target = "js"
[[build.cachebusters]]
source = "assets/.*\\.(.*)$"
target = "$1"