Skip to content

Auto-enable edge functions if site has edge runtime enabled #1431

Closed
@ascorbic

Description

@ascorbic

If a user opts-in to edge runtime for SSR or API routes, we should take that as tacit opt-in to use edge functions too. Unlike middleware we won't have any legacy users who started using it before we supported edge functions. It's also meaningless to use it without edge functions. The other option is to fail builds if it's not enabled, but at that point I think we may as well just set the env var ourselves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: featurecode contributing to the implementation of a feature and/or user facing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions