aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2024-05-21 04:13:16 -0700
committerBjørn Erik Pedersen <[email protected]>2024-05-21 14:34:49 +0200
commit548dc21378a13c288eddd097101c7f233292f79d (patch)
treee3c028e2518f273c6974f88be7d6dc732331b09c
parentb893a09aa62c01a62e32b0effdb02e86b51d46d6 (diff)
downloadhugo-548dc21378a13c288eddd097101c7f233292f79d.tar.gz
hugo-548dc21378a13c288eddd097101c7f233292f79d.zip
config: Remove extraneous BuildConfig setting
Closes #12519
-rw-r--r--config/commonConfig.go4
-rw-r--r--docs/data/docs.yaml1
2 files changed, 0 insertions, 5 deletions
diff --git a/config/commonConfig.go b/config/commonConfig.go
index 6ae97c2a1..1e43b1653 100644
--- a/config/commonConfig.go
+++ b/config/commonConfig.go
@@ -98,10 +98,6 @@ type BuildConfig struct {
// One of never, fallback, always. Default is fallback
UseResourceCacheWhen string
- // When enabled, will duplicate bundled resource files across languages that
- // doesn't have a translated version.
- DuplicateResourceFiles bool
-
// When enabled, will collect and write a hugo_stats.json with some build
// related aggregated data (e.g. CSS class names).
// Note that this was a bool <= v0.115.0.
diff --git a/docs/data/docs.yaml b/docs/data/docs.yaml
index ae8185259..d96468f40 100644
--- a/docs/data/docs.yaml
+++ b/docs/data/docs.yaml
@@ -939,7 +939,6 @@ config:
cacheBusters:
- source: (postcss|tailwind)\.config\.js
target: (css|styles|scss|sass)
- duplicateResourceFiles: false
noJSConfigInAssets: false
useResourceCacheWhen: fallback
buildDrafts: false