Skip to content

Plugin ideas #220

Description

@estrattonbailey
  • plugins should be able to inject a route, basically { route?: string, getStaticPaths?: () => string[], handler: (ev, ctx) => Response }
  • plugins should be able to post-process responses to inject scripts and the like

Why?

  • it'd be cool to be able to add a plugin that adds, say, authentication
    • or on-demand bundling of some assets
  • maybe inject a script that hits a set of APIs that were injected by the same plugin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions