diff options
Diffstat (limited to 'config/allconfig/load.go')
-rw-r--r-- | config/allconfig/load.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/allconfig/load.go b/config/allconfig/load.go index 2d1a84423..51c1bf279 100644 --- a/config/allconfig/load.go +++ b/config/allconfig/load.go @@ -208,8 +208,9 @@ func (l configLoader) applyDefaultConfig() error { } func (l configLoader) normalizeCfg(cfg config.Provider) error { - minify := cfg.Get("minify") - if b, ok := minify.(bool); ok && b { + if b, ok := cfg.Get("minifyOutput").(bool); ok && b { + cfg.Set("minify.minifyOutput", true) + } else if b, ok := cfg.Get("minify").(bool); ok && b { cfg.Set("minify", maps.Params{"minifyOutput": true}) } |