Skip to content

Allow static site export to be set via env var #546

Closed
@ascorbic

Description

@ascorbic

We currently use several heuristics to detect if a site is actually a static export, so we can disable the plugin. However it's not 100% effective, and we have some false positives and negatives. We should add an env var such as NEXT_STATIC_EXPORT which overrides the detection and sets it to either true or false.

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