Skip to content

Changes introducing hugo.IsProduction were overwritten #652

@chalin

Description

@chalin

Originally posted by @chalin in #611 (comment)


@LisaFC et al.: somehow #540 reverted #413. The latter introduced the use of hugo.IsProduction, in replacement of the environment-variable checking code. IMHO, use of hugo.IsProduction is the better (if not proper) way to determine the build environment, in particular since the build environment can be specified using the -e flag command line flag.

Possibly related: #611
Related: #651

/cc @nate-double-u

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions