Skip to content

Instantly share code, notes, and snippets.

@mxro
Created October 20, 2022 19:54
Show Gist options
  • Save mxro/686d3942798b6d67f3d4d00a25efee3a to your computer and use it in GitHub Desktop.
Save mxro/686d3942798b6d67f3d4d00a25efee3a to your computer and use it in GitHub Desktop.
render.ts
/* esbuild-ignore ui */
import { renderPage } from './../render';
import fs from 'fs';
export async function performRender({
event,
}: {
event: APIGatewayProxyEventV2;
}): Promise<APIGatewayProxyResultV2> {
// do Node.js things ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment