Skip to content

hugo -e production not workingย #625

Closed
@melroy89

Description

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.

See also: https://gohugo.io/hugo-pipes/postprocess/#hugo-environment-variables-available-in-postcss

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions