2023-08-31 20:49:12 +01:00
|
|
|
# Theme development config for exampleSite
|
|
|
|
# https://gohugo.io/getting-started/configuration/#configure-cache-busters
|
|
|
|
[build]
|
|
|
|
[build.buildStats]
|
|
|
|
enable = true
|
|
|
|
disableIDs = true
|
|
|
|
[[build.cachebusters]]
|
2025-03-30 21:20:50 +01:00
|
|
|
source = 'assets/notwatching/hugo_stats\.json'
|
2023-08-31 20:49:12 +01:00
|
|
|
target = 'styles\.css'
|
|
|
|
[[build.cachebusters]]
|
2025-03-29 12:51:42 +00:00
|
|
|
source = '(postcss|tailwind)\.config\.mjs'
|
2023-08-31 20:49:12 +01:00
|
|
|
target = 'css'
|
|
|
|
[[build.cachebusters]]
|
|
|
|
source = 'assets/.*\.(js|ts|jsx|tsx)'
|
|
|
|
target = 'js'
|
|
|
|
[[build.cachebusters]]
|
|
|
|
source = 'assets/.*\.(.*)$'
|
|
|
|
target = '$1'
|
|
|
|
|
|
|
|
[module]
|
2023-09-23 19:25:51 +01:00
|
|
|
[[module.mounts]]
|
|
|
|
source = "assets"
|
|
|
|
target = "assets"
|
2023-08-31 20:49:12 +01:00
|
|
|
[[module.mounts]]
|
|
|
|
source = "hugo_stats.json"
|
2025-03-30 21:20:50 +01:00
|
|
|
target = "assets/notwatching/hugo_stats.json"
|
|
|
|
disableWatch = true
|