Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

solid-start-sst

Adapter for Solid apps that work on AWS Lambda and AWS Lambda@Edge.

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-sst";

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-sst";

export default defineConfig({
  plugins: [solid({ adapter: aws({ edge: true }) })],
});