solid-start-aws
v0.3.11
Published
## This package is deprecated see [@solidjs/start](https://www.npmjs.com/package/@solidjs/start)
Downloads
13
Readme
start-aws
This package is deprecated see @solidjs/start
Adapter for Solid apps that work on AWS Lambda and AWS Lambda@Edge.
This is very experimental; the adapter API isn't at all fleshed out, and things will definitely change.
Usage
Add the adapter in your vite.config.js
file. By default this deploys to an AWS Lambda Function.
import solid from "solid-start/vite";
import aws from "solid-start-aws";
export default defineConfig({
plugins: [solid({ adapter: aws() })]
});
To deploy to the edge pass in the edge option.
import solid from "solid-start/vite";
import aws from "solid-start-aws";
export default defineConfig({
plugins: [solid({ adapter: aws({ edge: true }) })]
});