@dvargas92495/remix-lambda-at-edge
v0.2.0
Published
Lambda@Edge adapter for Remix
Downloads
8
Readme
Remix Adapter for CloudFront Lambda@Edge
This adapter transforms CloudFront Origin Request Events into Web Fetch API Request and Response objects using the adapter convention set out in the Remix Docs.
Usage
import { createRequestHandler } from "???";
export const handler = createRequestHandler({
build: require("./build"),
getLoadContext: event => {
// access to raw CloudFront event to provide context to loaders
}
});