Package Exports
- @astro-aws/adapter
- @astro-aws/adapter/lambda/index
- @astro-aws/adapter/lambda/index.js
Readme
@astro-aws/adapter
An Astro adapter for building an SSR application and deploying it to AWS Lambda.
Install
# Using NPM
npx astro add @astro-aws/adapter
# Using Yarn
yarn astro add @astro-aws/adapter
# Using PNPM
pnpm astro add @astro-aws/adapter
# Using Bun
bun x astro add @astro-aws/adapterManually
- Install the package.
# Using NPM
npm install -D @astro-aws/adapter
# Using Yarn
yarn add -D @astro-aws/adapter
# Using PNPM
pnpm add -D @astro-aws/adapter
# Using Bun
bun add -D @astro-aws/adapter- Add the following to your
astro.config.mjsfile.
import { defineConfig } from "astro/config"
import astroAws from "@astro-aws/adapter"
export default defineConfig({
output: "server",
adapter: astroAws(),
})