sk-adapter-lambda-edge
v1.0.0
Published
Adapter for Svelte Kit that creates a ready to deploy CloudFront Lambda Edge function for dynamic server rendering.
Downloads
1
Readme
Svelte Kit adapter-lambda-edge
Adapter for Svelte Kit that creates a ready to deploy CloudFront Lambda Edge function for dynamic server rendering.
Usage
Add "adapter-lambda-edge": "next"
to the devDependencies
in your package.json
and run npm install
.
Then in your svelte.config.js
:
const lambdaEdge = require('adapter-lambda-edge');
module.exports = {
kit: {
...
adapter: lambdaEdge()
}
};