Reduce binary size vs locale, update to CLDR v36.1

Test building with `go build -ldflags="-s -w"`

Hugo 0.86.2: 46MB
Before this commit: 77MB
After this commit: 54MB

Fixes #8839
Fixes #8841
This commit is contained in:
Bjørn Erik Pedersen
2021-08-02 16:24:04 +02:00
parent 9a7383caf3
commit 3a96655592
10 changed files with 28 additions and 17 deletions

View File

@@ -21,8 +21,8 @@ import (
"github.com/pkg/errors"
translators "github.com/bep/gotranslators"
"github.com/go-playground/locales"
translators "github.com/gohugoio/localescompressed"
"github.com/gohugoio/locales"
"github.com/gohugoio/hugo/common/maps"
"github.com/gohugoio/hugo/config"
)