diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-08-02 17:24:04 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-08-02 20:40:32 +0300 |
commit | 3a96655592d0b0db4126f20ca717d553dda9c4ed (patch) | |
tree | 659ab65dda84c17f3406e33a294aa0ac3d325e1e /go.mod | |
parent | 9a7383caf3945b9b11db2b108003f87e2e8b6a3a (diff) |
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
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -12,7 +12,6 @@ require ( github.com/bep/gitmap v1.1.2 github.com/bep/godartsass v0.12.0 github.com/bep/golibsass v1.0.0 - github.com/bep/gotranslators v0.2.0 github.com/bep/gowebp v0.1.0 github.com/bep/tmc v0.5.1 github.com/cli/safeexec v1.0.0 @@ -24,10 +23,11 @@ require ( github.com/fsnotify/fsnotify v1.4.9 github.com/getkin/kin-openapi v0.68.0 github.com/ghodss/yaml v1.0.0 - github.com/go-playground/locales v0.13.0 github.com/gobuffalo/flect v0.2.3 github.com/gobwas/glob v0.2.3 github.com/gohugoio/go-i18n/v2 v2.1.3-0.20210430103248-4c28c89f8013 + github.com/gohugoio/locales v0.14.0 + github.com/gohugoio/localescompressed v0.14.0 github.com/gohugoio/testmodBuilder/mods v0.0.0-20190520184928-c56af20f2e95 github.com/google/go-cmp v0.5.6 github.com/gorilla/websocket v1.4.2 @@ -70,3 +70,5 @@ require ( ) go 1.16 + +replace github.com/bep/gotranslators => /Users/bep/dev/go/bep/gotranslators |