- 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
{ route?: string, getStaticPaths?: () => string[], handler: (ev, ctx) => Response }Why?