When I run hugo -e production I expect that there will be a Hugo production build.
However, hugo -e production is NOT building the production build?? The only way to get it working is to set HUGO_ENV environment variable to production. But again, the hugo -e production should do the same thing.
When I run
hugo -e production
I expect that there will be a Hugo production build.However,
hugo -e production
is NOT building the production build?? The only way to get it working is to setHUGO_ENV
environment variable toproduction
. But again, thehugo -e production
should do the same thing.See also: https://gohugo.io/hugo-pipes/postprocess/#hugo-environment-variables-available-in-postcss